Documentation
¶
Index ¶
- type Config
- type ZapLogger
- func (l *ZapLogger) Debugf(template string, args ...any)
- func (l *ZapLogger) Errorf(template string, args ...any)
- func (l *ZapLogger) Fatalf(template string, args ...any)
- func (l *ZapLogger) Infof(template string, args ...any)
- func (l *ZapLogger) Panicf(template string, args ...any)
- func (l *ZapLogger) Warnf(template string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceID string StdOutLoggerEnabled bool FileLoggerEnabled bool FileLoggerPath string FileLoggerMaxSize int // megabytes FileLoggerMaxBackups int // amount FileLoggerMaxAge int // days StreamLoggerEnabled bool StreamLoggerAddrs string StreamLoggerUsername string StreamLoggerPassword string StreamLoggerTopic string StreamLoggerBatchSize int // messages StreamLoggerBatchTimeout int // millisexonds }
Click to show internal directories.
Click to hide internal directories.