Apply --disable-color to global logger

This commit is contained in:
世界
2023-03-13 11:23:00 +08:00
parent 2d0e4acc06
commit 0e0395794b
3 changed files with 14 additions and 23 deletions

View File

@@ -16,6 +16,10 @@ func StdLogger() ContextLogger {
return std
}
func SetStdLogger(logger ContextLogger) {
std = logger
}
func Trace(args ...any) {
std.Trace(args...)
}