mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
import recommended
This commit is contained in:
parent
6d27317a8d
commit
5c7b91b968
@ -10,7 +10,7 @@ module.exports = {
|
||||
'standard',
|
||||
'eslint:recommended',
|
||||
'plugin:prettier/recommended',
|
||||
// 'plugin:import/recommended',
|
||||
'plugin:import/recommended',
|
||||
// 'plugin:import/typescript',
|
||||
// 'plugin:security/recommended',
|
||||
// 'plugin:@eslint-community/eslint-comments/recommended',
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import log4js from 'log4js'
|
||||
import { configure, getLogger } from 'log4js'
|
||||
import CONFIG from '@/config'
|
||||
|
||||
import { readFileSync } from 'fs'
|
||||
@ -13,8 +13,8 @@ options.appenders.dht.filename = filename.replace(
|
||||
)
|
||||
filename = options.appenders.errorFile.filename
|
||||
|
||||
log4js.configure(options)
|
||||
configure(options)
|
||||
|
||||
const logger = log4js.getLogger('dht')
|
||||
const logger = getLogger('dht')
|
||||
|
||||
export { logger }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user