Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2019 Changes in this version + func AddRequestID(ctx context.Context, fields loggo.Fields) loggo.Fields + func F(args ...interface{}) (res map[string]interface{}) + func GetFields(ctx context.Context) (fields loggo.Fields) + func NoCodeFormat(entry loggo.Entry) string + func SetLevel(level Level) + type BasicLogger interface + Debugf func(format string, args ...interface{}) + Errorf func(format string, args ...interface{}) + Infof func(format string, args ...interface{}) + Warningf func(format string, args ...interface{}) + type EmptyLogger struct + func (EmptyLogger) Debug(format string, args ...interface{}) + func (EmptyLogger) Debugf(format string, args ...interface{}) + func (EmptyLogger) Error(format string, args ...interface{}) + func (EmptyLogger) Errorf(format string, args ...interface{}) + func (EmptyLogger) Info(format string, args ...interface{}) + func (EmptyLogger) Infof(format string, args ...interface{}) + func (EmptyLogger) StCritical(message string, fields loggo.Fields) + func (EmptyLogger) StDebug(message string, fields loggo.Fields) + func (EmptyLogger) StError(message string, fields loggo.Fields) + func (EmptyLogger) StInfo(message string, fields loggo.Fields) + func (EmptyLogger) StTrace(message string, fields loggo.Fields) + func (EmptyLogger) StWarning(message string, fields loggo.Fields) + func (EmptyLogger) Trace(format string, args ...interface{}) + func (EmptyLogger) Tracef(format string, args ...interface{}) + func (EmptyLogger) Warning(format string, args ...interface{}) + func (EmptyLogger) Warningf(format string, args ...interface{}) + type Level int + const LevelDebug + const LevelError + const LevelInfo + const LevelTrace + type Logger interface + func GetSafe(logger Logger) Logger + func NewLogger(packageName string, size ...int) Logger + func NewNoCodeLogger(name string, size ...int) Logger + type StLogger interface + StCritical func(message string, fields loggo.Fields) + StDebug func(message string, fields loggo.Fields) + StError func(message string, fields loggo.Fields) + StInfo func(message string, fields loggo.Fields) + StTrace func(message string, fields loggo.Fields) + StWarning func(message string, fields loggo.Fields) + type StandardLogger interface + Debugf func(format string, args ...interface{}) + Errorf func(format string, args ...interface{}) + Infof func(format string, args ...interface{}) + Tracef func(format string, args ...interface{}) + Warningf func(format string, args ...interface{}) + func NewStandardLogger(packageName string, depth ...int) StandardLogger + type StructuredLogger interface + Debug func(msg string, keyValues ...interface{}) + Error func(msg string, keyValues ...interface{}) + Info func(msg string, keyValues ...interface{}) + Trace func(msg string, keyValues ...interface{}) + Warning func(msg string, keyValues ...interface{})