Compare commits

..

1 Commits

Author SHA1 Message Date
01c234782e Use winston for logging 2021-03-14 20:53:53 -06:00

View File

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