Documentation ¶
Index ¶
- func DPanic(msg string, fields ...zap.Field)
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func GetLogger() *zap.Logger
- func GetLoggerForCron(jobName string) cronLogger
- func Info(msg string, fields ...zap.Field)
- func InitLogger(logPath string, logLevel string, sentryDSN string, version string)
- func Panic(msg string, fields ...zap.Field)
- func Sync() error
- func Warn(msg string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoggerForCron ¶
func GetLoggerForCron(jobName string) cronLogger
GetLoggerForCron returns a struct that implements cron.Logger interface.
func InitLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.