logger.go 114 B

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