logger.go 292 B

123456789101112131415
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. // package zqy 实现调用第三方接口和本地数据存储复用
  4. package adm
  5. import (
  6. "go.uber.org/zap"
  7. )
  8. var l *zap.Logger
  9. func SetLogger(logger *zap.Logger) {
  10. l = logger
  11. }