Documentation ¶
Overview ¶
Package log implements the functions, types, and interfaces for the module.
Package log implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
View Source
const ( LevelKey = log.LevelKey LevelDebug = log.LevelDebug LevelInfo = log.LevelInfo LevelWarn = log.LevelWarn LevelError = log.LevelError LevelFatal = log.LevelFatal )
Variables ¶
View Source
var ( DefaultLogger = log.DefaultLogger DefaultCaller = log.DefaultCaller DefaultTimestamp = log.DefaultTimestamp DefaultMessageKey = log.DefaultMessageKey )
View Source
var ( With = log.With WithContext = log.WithContext NewStdLogger = log.NewStdLogger ParseLevel = log.ParseLevel Value = log.Value Caller = log.Caller Timestamp = log.Timestamp FilterLevel = log.FilterLevel FilterKey = log.FilterKey FilterValue = log.FilterValue FilterFunc = log.FilterFunc NewFilter = log.NewFilter SetLogger = log.SetLogger GetLogger = log.GetLogger Log = log.Log Context = log.Context Debug = log.Debug Debugf = log.Debugf Debugw = log.Debugw Info = log.Info Infof = log.Infof Infow = log.Infow Warn = log.Warn Warnf = log.Warnf Warnw = log.Warnw Error = log.Error Errorf = log.Errorf Errorw = log.Errorw Fatal = log.Fatal Fatalf = log.Fatalf Fatalw = log.Fatalw WithMessageKey = log.WithMessageKey WithSprint = log.WithSprint WithSprintf = log.WithSprintf NewHelper = log.NewHelper WithWriterLevel = log.WithWriterLevel WithWriteMessageKey = log.WithWriteMessageKey NewWriter = log.NewWriter )
Functions ¶
This section is empty.
Types ¶
type FilterOption ¶
type FilterOption = log.FilterOption
type WriterOptionFn ¶
type WriterOptionFn = log.WriterOptionFn
Click to show internal directories.
Click to hide internal directories.