Documentation ¶
Index ¶
- func Debug(msg string) slf.Tracer
- func Debugf(msg string, args ...interface{}) slf.Tracer
- func Error(msg string) slf.Tracer
- func Errorf(msg string, args ...interface{}) slf.Tracer
- func Fatal(msg string)
- func Fatalf(msg string, args ...interface{})
- func Info(msg string) slf.Tracer
- func Infof(msg string, args ...interface{}) slf.Tracer
- func Log(level slf.Level, msg string) slf.Tracer
- func Panic(msg string)
- func Panicf(msg string, args ...interface{})
- func SetLog(l slf.Logger)
- func Warn(msg string) slf.Tracer
- func Warnf(msg string, args ...interface{}) slf.Tracer
- func WithContext(context string) slf.StructuredLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(msg string)
Fatal logs the string with the corresponding level and then calls os.Exit(1).
func Fatalf ¶
func Fatalf(msg string, args ...interface{})
Fatalf formats and logs the string with the corresponding level and then calls os.Exit(1).
func Panicf ¶
func Panicf(msg string, args ...interface{})
Panicf formats and logs the string with the corresponding level and panics.
func WithContext ¶
func WithContext(context string) slf.StructuredLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.