Documentation ¶
Index ¶
- func InitZap()
- func Log(level zapcore.Level, message string, context string, scope string)
- func LogE(message string)
- func LogEf(format string, i ...interface{})
- func LogGreen(str string)
- func LogI(message string)
- func LogIf(format string, i ...interface{})
- func LogRed(str string)
- func LogWithDefer(str string) (deferFunc func())
- func LogYellow(str string)
- type PanicLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PanicLogger ¶
type PanicLogger struct { }
PanicLogger struct
func (*PanicLogger) LogPanic ¶
func (l *PanicLogger) LogPanic(_ context.Context, value interface{})
LogPanic panic logger
Click to show internal directories.
Click to hide internal directories.