logger.go 115 B

1234567891011
  1. package task
  2. import (
  3. "go.uber.org/zap"
  4. )
  5. var l *zap.Logger
  6. func SetLogger(logger *zap.Logger) {
  7. l = logger
  8. }