Compare commits

..

1 Commits

Author SHA1 Message Date
1d909ac034 Use winston for logging 2021-03-14 21:21:22 -06:00

View File

@ -7,10 +7,7 @@ export const logger = winston.createLogger({
transports: [new winston.transports.Console()],
format: format.combine(
format.errors({ stack: true }),
format.printf(
({ level, message, stack }) =>
`${level}: ${message}${stack ? "\n" + stack : ""}`
)
format.printf(({ level, message }) => `${level}: ${message}`)
),
});