This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
leo
/
LAPP_GAAS_GFrame_BACKEND
Watch
2
Star
2
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
初始化logger之后存储到全局map
pull/138/head
zhangxin
3 years ago
parent
4fc351e9cd
commit
d259afcc0d
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
infra/logger/logger.go
+ 1
- 0
infra/logger/logger.go
View File
@ -94,6 +94,7 @@ func initLogger(module string, operator string) (Log, error) {
if
len
(
innerLog
.
output
)
==
0
{
return
defaultLogger
,
errors
.
New
(
"未获取到日志输出驱动"
)
}
loggerMap
[
module
]
=
innerLog
return
innerLog
,
nil
}
Write
Preview
Loading…
Cancel
Save