(level: string, layoutType: string)
| 54 | // This is a function to make it easy to create a new instance. It is important to not reuse a |
| 55 | // config object after passing it to log4js.configure() because that method mutates the object. :( |
| 56 | const defaultLogConfig = (level: string, layoutType: string) => ({ |
| 57 | appenders: {console: {type: 'console', layout: {type: layoutType}}}, |
| 58 | categories: { |
| 59 | default: {appenders: ['console'], level}, |
| 60 | } |
| 61 | }); |
| 62 | const defaultLogLevel = 'INFO'; |
| 63 | const defaultLogLayoutType = 'colored'; |
| 64 |
no outgoing calls
no test coverage detected