Skip to content

Commit 370c160

Browse files
author
myxy99
committed
console
1 parent 80e7cbc commit 370c160

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xlog/api.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ func logger() *Logger {
1212
return defaultLogger
1313
}
1414

15+
func DefaultLogger() *Logger {
16+
return logger()
17+
}
18+
1519
func SetDefaultLogger(o *options) {
1620
defaultLogger = o.Build()
1721
return

0 commit comments

Comments
 (0)