mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 14:46:01 +00:00
logger refactor
This commit is contained in:
@@ -3,7 +3,7 @@ import { createPinoLikeLogger, ILogger } from './pinomin';
|
||||
let _logger: ILogger;
|
||||
let _name: string = null;
|
||||
const defaultLogger: ILogger = createPinoLikeLogger({
|
||||
pid: global?.process?.pid,
|
||||
base: { pid: global?.process?.pid },
|
||||
targets: [{ type: 'console', level: 'info' }],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user