Documentation ¶
Index ¶
- type ZapLogger
- func (l *ZapLogger) Debug(message string, params ...interface{})
- func (l *ZapLogger) Error(message string, params ...interface{})
- func (l *ZapLogger) Fatal(message string, params ...interface{})
- func (l *ZapLogger) GetLevel() logadapter.Log_Level
- func (l ZapLogger) GetPrefix() string
- func (l *ZapLogger) Info(message string, params ...interface{})
- func (l *ZapLogger) New(name string) (nl logadapter.Logger)
- func (l *ZapLogger) Panic(message string, params ...interface{})
- func (l *ZapLogger) SetLevel(lvl logadapter.Log_Level)
- func (l *ZapLogger) SetPrefix(name string)
- func (l *ZapLogger) Sync()
- func (l *ZapLogger) Trace(message string, params ...interface{})
- func (l *ZapLogger) Warn(message string, params ...interface{})
- func (l *ZapLogger) With(key string, value interface{}) logadapter.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger struct { Zap *zap.SugaredLogger // contains filtered or unexported fields }
func NewZapLogger ¶
func NewZapLogger() *ZapLogger
DefaultLogger Return Default Sched Logger based on Zap's sugared logger
Click to show internal directories.
Click to hide internal directories.