sepia-search-motore-di-rice.../server/helpers/logger.ts

14 lines
260 B
TypeScript
Raw Normal View History

2020-02-13 11:49:03 +01:00
import * as Pino from 'pino'
import { CONFIG } from '../initializers/constants'
const pino = Pino({
prettyPrint: true,
level: CONFIG.LOG.LEVEL
})
// ---------------------------------------------------------------------------
export {
pino as logger
}