Versions in this module Expand all Collapse all v1 v1.0.0 Jul 19, 2024 Changes in this version + const LogKeyAllocateMessageQueue + const LogKeyBroker + const LogKeyConsumerGroup + const LogKeyMessageId + const LogKeyMessageQueue + const LogKeyMessages + const LogKeyProducerGroup + const LogKeyPullRequest + const LogKeyQueueId + const LogKeyQueueOffset + const LogKeyStoreHost + const LogKeyTimeStamp + const LogKeyTopic + const LogKeyUnderlayError + const LogKeyValueChangedFrom + const LogKeyValueChangedTo + func Debug(msg string, fields map[string]interface{}) + func Error(msg string, fields map[string]interface{}) + func Fatal(msg string, fields map[string]interface{}) + func Info(msg string, fields map[string]interface{}) + func SetLogLevel(level string) + func SetLogger(logger Logger) + func SetOutputPath(path string) (err error) + func Warning(msg string, fields map[string]interface{}) + type Config struct + Compress bool + LocalTime bool + MaxAges int + MaxBackups int + MaxFileSizeMB int + OutputPath string + func (c *Config) Logger() *lumberjack.Logger + type Logger interface + Debug func(msg string, fields map[string]interface{}) + Error func(msg string, fields map[string]interface{}) + Fatal func(msg string, fields map[string]interface{}) + Info func(msg string, fields map[string]interface{}) + Level func(level string) + OutputPath func(path string) (err error) + Warning func(msg string, fields map[string]interface{})