Gegt only warn,error and fatal (#5259)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/5252/head^2
Hariom Balhara 2022-10-28 14:49:48 +05:30 committed by GitHub
parent 0746b1e372
commit 7b1e824a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { Logger } from "tslog";
import { IS_PRODUCTION } from "./constants"; import { IS_PRODUCTION } from "./constants";
const logger = new Logger({ const logger = new Logger({
minLevel: "warn",
dateTimePattern: "hour:minute:second.millisecond timeZoneName", dateTimePattern: "hour:minute:second.millisecond timeZoneName",
displayFunctionName: false, displayFunctionName: false,
displayFilePath: "hidden", displayFilePath: "hidden",