Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func DebugF(format string, args ...interface{})
- func Error(args ...interface{})
- func ErrorF(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func InfoF(format string, args ...interface{})
- func InitDefaultLogger()
- func InitGlobalLogger(l Logger)
- func Panic(args ...interface{})
- func PanicF(format string, args ...interface{})
- func Trace(args ...interface{})
- func TraceF(format string, args ...interface{})
- func Warn(args ...interface{})
- func WarnF(format string, args ...interface{})
- type Fields
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDefaultLogger ¶
func InitDefaultLogger()
func InitGlobalLogger ¶
func InitGlobalLogger(l Logger)
Types ¶
type Logger ¶
type Logger interface { WithField(key string, value interface{}) Logger WithFields(fields Fields) Logger Trace(args ...interface{}) TraceF(format string, args ...interface{}) Debug(args ...interface{}) DebugF(format string, args ...interface{}) Info(args ...interface{}) InfoF(format string, args ...interface{}) Warn(args ...interface{}) WarnF(format string, args ...interface{}) Error(args ...interface{}) ErrorF(format string, args ...interface{}) Panic(args ...interface{}) PanicF(format string, args ...interface{}) Fatal(args ...interface{}) FatalF(format string, args ...interface{}) }
func NewLogrusAdapt ¶
func WithFields ¶
Click to show internal directories.
Click to hide internal directories.