logger.go 284 B

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