diff --git a/gateway/main.go b/gateway/main.go index 3f68f15..fc10be7 100644 --- a/gateway/main.go +++ b/gateway/main.go @@ -29,7 +29,7 @@ func main() { ** 注册日志信息 */ func RegisterLogs() { - logs.SetLogger(logs.AdapterFile, + _ = logs.SetLogger(logs.AdapterFile, `{ "filename":"../logs/legend.log", "level":4,