Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Debug(msg string) Debugf(msg string, v ...interface{}) Error(msg string) Errorf(msg string, v ...interface{}) Fatal(msg string) Fatalf(msg string, v ...interface{}) Info(msg string) Infof(msg string, v ...interface{}) Trace(msg string) Logger Warn(msg string) Warnf(msg string, v ...interface{}) WithError(err error) Logger WithField(key string, value interface{}) Logger WithFields(fields Fields) Logger }
func ContextLogger ¶
func ContextLogger(ctx context.Context, factory LoggerFactory) Logger
type LoggerFactory ¶
Click to show internal directories.
Click to hide internal directories.