logger.go 223 B

12345678910111213
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. package model
  4. import (
  5. "go.uber.org/zap"
  6. )
  7. var l *zap.Logger
  8. func SetLogger(logger *zap.Logger) {
  9. l = logger
  10. }