global

package
v0.0.0-...-05bc493 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyForContext

func CopyForContext() log.Logger

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(fmt string, args ...interface{})

func Debugm

func Debugm(arg interface{}, fields ...logfmt.LogFieldMarshaller)

func Error

func Error(args ...interface{})

func Errorf

func Errorf(fmt string, args ...interface{})

func Errorm

func Errorm(arg interface{}, fields ...logfmt.LogFieldMarshaller)

func Event

func Event(level log.Level, args ...interface{})

func Eventf

func Eventf(level log.Level, fmt string, args ...interface{})

func Eventm

func Eventm(level log.Level, arg interface{}, fields ...logfmt.LogFieldMarshaller)

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(fmt string, args ...interface{})

func Fatalm

func Fatalm(arg interface{}, fields ...logfmt.LogFieldMarshaller)

func Flush

func Flush()

func GetFilter

func GetFilter() log.Level

func Info

func Info(args ...interface{})

func Infof

func Infof(fmt string, args ...interface{})

func Infom

func Infom(arg interface{}, fields ...logfmt.LogFieldMarshaller)

func InitTicker

func InitTicker()

func IsInitialized

func IsInitialized() bool

func Logger

func Logger() log.Logger

func Panic

func Panic(args ...interface{})

func Panicf

func Panicf(fmt string, args ...interface{})

func Panicm

func Panicm(arg interface{}, fields ...logfmt.LogFieldMarshaller)

func SaveLogger

func SaveLogger() func()

func SaveLoggerAndFilter

func SaveLoggerAndFilter(includeFilter bool) func()

func SetFilter

func SetFilter(level log.Level) error

func SetLevel

func SetLevel(level log.Level)

func SetLogger

func SetLogger(logger log.Logger)

func SetTextLevel

func SetTextLevel(level string) error

SetTextLevel lets log level for global logger

func TrySetDefaultInitializer

func TrySetDefaultInitializer(initFn func() (log.LoggerBuilder, error)) bool

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(fmt string, args ...interface{})

func Warnm

func Warnm(arg interface{}, fields ...logfmt.LogFieldMarshaller)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL