mirror of
https://github.com/fhmq/hmq.git
synced 2026-05-06 07:35:32 +00:00
update
This commit is contained in:
@@ -46,5 +46,9 @@ func InitLogger(debug bool) {
|
||||
|
||||
// Get return a *zap.Logger instance
|
||||
func Get() *zap.Logger {
|
||||
if instance == nil {
|
||||
l, _ := NewProdLogger()
|
||||
return l
|
||||
}
|
||||
return instance
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user