Add multiplexer

This commit is contained in:
世界
2022-07-30 09:04:01 +08:00
parent 83154eadd3
commit 457de86819
47 changed files with 1244 additions and 174 deletions
+4
View File
@@ -12,6 +12,10 @@ func init() {
std = NewFactory(Formatter{BaseTime: time.Now()}, os.Stderr).Logger()
}
func StdLogger() ContextLogger {
return std
}
func Trace(args ...any) {
std.Trace(args...)
}