You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/09/02 11:02:25 UTC
[dubbo-go] branch config-enhance updated: fix logger panic (#1430)
This is an automated email from the ASF dual-hosted git repository.
laurence pushed a commit to branch config-enhance
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/config-enhance by this push:
new 82e825c fix logger panic (#1430)
82e825c is described below
commit 82e825c9c36a185b1d47cd547b391dc2906d98ff
Author: 氕氘氚 <cj...@163.com>
AuthorDate: Thu Sep 2 19:02:15 2021 +0800
fix logger panic (#1430)
---
common/logger/logger.go | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/common/logger/logger.go b/common/logger/logger.go
index 646b427..e5c999f 100644
--- a/common/logger/logger.go
+++ b/common/logger/logger.go
@@ -28,6 +28,11 @@ import (
var logger Logger
+// init a default logger
+func init() {
+ InitLogger(nil)
+}
+
// nolint
type DubboLogger struct {
Logger