You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2019/07/09 06:10:10 UTC

[dubbo-go] branch develop updated: Add:GetLogger

This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new b9a0f74  Add:GetLogger
     new 8238cab  Merge pull request #125 from fangyincheng/develop
b9a0f74 is described below

commit b9a0f74f2b55b84433b862f957847ed0d1e4959a
Author: fangyincheng <fa...@sina.com>
AuthorDate: Tue Jul 9 13:56:25 2019 +0800

    Add:GetLogger
---
 common/logger/logger.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/logger/logger.go b/common/logger/logger.go
index b0afd9c..f41e957 100644
--- a/common/logger/logger.go
+++ b/common/logger/logger.go
@@ -119,3 +119,7 @@ func SetLogger(log Logger) {
 	logger = log
 	getty.SetLogger(logger)
 }
+
+func GetLogger() Logger {
+	return logger
+}