Compare commits

..

1 Commits

Author SHA1 Message Date
ad87772da9 Use winston for logging 2021-03-14 20:56:03 -06:00

View File

@ -4,7 +4,7 @@ import winston from "winston";
export const DEBUG = !!process.env.DEBUG; export const DEBUG = !!process.env.DEBUG;
export const logger = winston.createLogger({ export const logger = winston.createLogger({
level: DEBUG ? "debug" : process.env.LOG_LEVEL ?? "info", level: DEBUG ? "debug" : process.env.LOG_LEVEL ?? "info",
transports: [new winston.transports.()], transports: [new winston.transports.Console()],
}); });
export function getNationalNumber(input: string) { export function getNationalNumber(input: string) {