remove unused code

This commit is contained in:
yusing
2025-02-15 11:35:36 +08:00
parent 01432fa778
commit 7129e2cc9d
2 changed files with 9 additions and 41 deletions

View File

@@ -31,10 +31,6 @@ func init() {
}
prefixLength := len(timeFmt) + 5 // level takes 3 + 2 spaces
prefix = strings.Repeat(" ", prefixLength)
if zerolog.TraceLevel != -1 && zerolog.NoLevel != 6 {
panic("zerolog implementation changed")
}
}
func fmtMessage(msg string) string {