PeerTube/packages/peertube-runner/shared/logger.ts

13 lines
156 B
TypeScript

import { pino } from 'pino'
import pretty from 'pino-pretty'
const logger = pino(pretty({
colorize: true
}))
logger.level = 'info'
export {
logger
}