Przeglądaj źródła

接入阿里sls, 增加关闭日志通道

tags/v1.3.0
liangzy 4 lat temu
rodzic
commit
01c35869b8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      log.go

+ 1
- 1
log.go Wyświetl plik

@@ -81,7 +81,7 @@ func GetAli(label string, channelLens ...int64) (l *Logger) {
}

if l, loaded = New(label, channelLens...); !loaded {
l.SetAdapter(LevelAll, AdapterConsole).SetAdapter(filelevel, AdapterAliLs)
l.SetAdapter(LevelAll, AdapterConsole).SetAdapter(filelevel, AdapterFile).SetAdapter(filelevel, AdapterAliLs)
}
return
}


Ładowanie…
Anuluj
Zapisz