Versions in this module Expand all Collapse all v3 v3.1.0 Mar 7, 2022 v3.0.4 Nov 24, 2020 Changes in this version + const AppName + const AppVersion + const DebugLevel + const ErrorLevel + const InfoLevel + const PanicLevel + const WarnLevel + func Debug(ctx context.Context, msg string, keysAndValues ...interface{}) + func Dump(msg string, v ...interface{}) + func Error(ctx context.Context, msg string, keysAndValues ...interface{}) + func Info(ctx context.Context, msg string, keysAndValues ...interface{}) + func IsDebug(ctx context.Context) bool + func Panic(ctx context.Context, msg string, keysAndValues ...interface{}) + func SetGlobalLogger(l Logger) + func Truncate(str string, length int, concat string) string + func Warn(ctx context.Context, msg string, keysAndValues ...interface{}) + type ContextMapper interface + Values func(ctx context.Context) map[string]string + type Logger interface + Debug func(ctx context.Context, msg string, keysAndValues ...interface{}) + Dump func(msg string, v ...interface{}) + Error func(ctx context.Context, msg string, keysAndValues ...interface{}) + Info func(ctx context.Context, msg string, keysAndValues ...interface{}) + IsDebug func(ctx context.Context) bool + Panic func(ctx context.Context, msg string, keysAndValues ...interface{}) + Warn func(ctx context.Context, msg string, keysAndValues ...interface{}) + func GlobalLogger() Logger + type ThrottleLogger struct + func Throttle(logger Logger, interval time.Duration) (*ThrottleLogger, chan struct{}) + func (t *ThrottleLogger) Debug(ctx context.Context, msg string, keysAndValues ...interface{}) + func (t *ThrottleLogger) Dump(msg string, v ...interface{}) + func (t *ThrottleLogger) Error(ctx context.Context, msg string, keysAndValues ...interface{}) + func (t *ThrottleLogger) Flush() + func (t *ThrottleLogger) Info(ctx context.Context, msg string, keysAndValues ...interface{}) + func (t *ThrottleLogger) IsDebug(ctx context.Context) bool + func (t *ThrottleLogger) Panic(ctx context.Context, msg string, keysAndValues ...interface{}) + func (t *ThrottleLogger) Stop() + func (t *ThrottleLogger) Warn(ctx context.Context, msg string, keysAndValues ...interface{}) Other modules containing this package github.com/proemergotech/log