support json schema
This commit is contained in:
@ -38,7 +38,7 @@ func configureLogger(cfg *config.LogConfig) (*zerolog.Logger, error) {
|
||||
TimeFormat: zerolog.TimeFieldFormat,
|
||||
}
|
||||
if cfg.TimeFormat == config.TimeFormatOff {
|
||||
consoleWriter.FormatTimestamp = func(_ interface{}) string {
|
||||
consoleWriter.FormatTimestamp = func(_ any) string {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user