fork
Configure Feed
Select the types of activity you want to include in your feed.
this repo has no description
fork
Configure Feed
Select the types of activity you want to include in your feed.
1import { pino } from 'pino';
2
3const logger = pino({
4 level: process.env.LOG_LEVEL ?? 'info',
5 transport:
6 process.env.NODE_ENV !== 'production' ?
7 {
8 target: 'pino-pretty',
9 options: {
10 colorize: true,
11 translateTime: 'SYS:standard',
12 ignore: 'pid,hostname',
13 },
14 }
15 : undefined,
16 timestamp: pino.stdTimeFunctions.isoTime,
17});
18
19export default logger;