Documentation ¶
Index ¶
- func CopyForContext() log.Logger
- func Debug(args ...interface{})
- func Debugf(fmt string, args ...interface{})
- func Debugm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func Error(args ...interface{})
- func Errorf(fmt string, args ...interface{})
- func Errorm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func Event(level log.Level, args ...interface{})
- func Eventf(level log.Level, fmt string, args ...interface{})
- func Eventm(level log.Level, arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func Fatal(args ...interface{})
- func Fatalf(fmt string, args ...interface{})
- func Fatalm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func Flush()
- func GetFilter() log.Level
- func Info(args ...interface{})
- func Infof(fmt string, args ...interface{})
- func Infom(arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func InitTicker()
- func IsInitialized() bool
- func Logger() log.Logger
- func Panic(args ...interface{})
- func Panicf(fmt string, args ...interface{})
- func Panicm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
- func SaveLogger() func()
- func SaveLoggerAndFilter(includeFilter bool) func()
- func SetFilter(level log.Level) error
- func SetLevel(level log.Level)
- func SetLogger(logger log.Logger)
- func SetTextLevel(level string) error
- func TrySetDefaultInitializer(initFn func() (log.LoggerBuilder, error)) bool
- func Warn(args ...interface{})
- func Warnf(fmt string, args ...interface{})
- func Warnm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyForContext ¶
func Debugm ¶
func Debugm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
func Errorm ¶
func Errorm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
func Fatalm ¶
func Fatalm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
func Infom ¶
func Infom(arg interface{}, fields ...logfmt.LogFieldMarshaller)
func InitTicker ¶
func InitTicker()
func IsInitialized ¶
func IsInitialized() bool
func Panicm ¶
func Panicm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
func SaveLogger ¶
func SaveLogger() func()
func SaveLoggerAndFilter ¶
func SaveLoggerAndFilter(includeFilter bool) func()
func SetTextLevel ¶
SetTextLevel lets log level for global logger
func TrySetDefaultInitializer ¶
func TrySetDefaultInitializer(initFn func() (log.LoggerBuilder, error)) bool
func Warnm ¶
func Warnm(arg interface{}, fields ...logfmt.LogFieldMarshaller)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.