logger.go 229 B

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