This commit is contained in:
joy.zhou
2019-07-11 12:39:13 +08:00
parent 7bce53fa2b
commit 9067eb88b2
805 changed files with 103301 additions and 241308 deletions
+4
View File
@@ -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
}