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

littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a7379a  SCB-1052 Import zap logger without binding go version (#501)
6a7379a is described below

commit 6a7379a35f939a2af837878d3aa61a8856c04ac4
Author: little-cui <[email protected]>
AuthorDate: Wed Nov 28 16:09:22 2018 +0800

    SCB-1052 Import zap logger without binding go version (#501)
---
 pkg/log/log.go                      | 2 +-
 pkg/log/{log_go19.go => log_zap.go} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/log/log.go b/pkg/log/log.go
index e2539de..43d0cfa 100644
--- a/pkg/log/log.go
+++ b/pkg/log/log.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build !go1.9
+// +build nozap
 
 package log
 
diff --git a/pkg/log/log_go19.go b/pkg/log/log_zap.go
similarity index 98%
rename from pkg/log/log_go19.go
rename to pkg/log/log_zap.go
index 101a419..f0c6abf 100644
--- a/pkg/log/log_go19.go
+++ b/pkg/log/log_zap.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build go1.9
+// +build !nozap
 
 package log
 

Reply via email to