Skip to content

Commit 9bdd0a8

Browse files
committed
Modify console level
1 parent c3f8702 commit 9bdd0a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alog.go

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func (a *ALog) SetLogTag(tag string) {
4949

5050
// SetLogLevel 设置日志输出级别
5151
func (a *ALog) SetLogLevel(level log.LogLevel) {
52+
a.config.Console.Level = level
5253
a.config.Global.Level = level
5354
}
5455

0 commit comments

Comments
 (0)