Alex Mikhalev
7 years ago
8 changed files with 28 additions and 22 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
import * as pino from "pino"; |
||||
|
||||
let logger: pino.Logger = pino(); |
||||
|
||||
export function setLogger(newLogger: pino.Logger) { |
||||
logger = newLogger; |
||||
} |
||||
|
||||
export default logger; |
@ -1,5 +0,0 @@
@@ -1,5 +0,0 @@
|
||||
import * as pino from "pino"; |
||||
|
||||
const log = pino(); |
||||
|
||||
export default log; |
Loading…
Reference in new issue