Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterLevel ¶
FilterLevel wraps an existing zap.Core but logs at a different level. This function can be used to create child loggers which should print only log levels at a different log level than the parent logger.
Types ¶
type Config ¶
type Config struct { LogLevelInput string LogLevel zap.AtomicLevel }
Config for a zap logger
func (*Config) RegisterFlags ¶
RegisterFlags adds the flags required to config the server
Click to show internal directories.
Click to hide internal directories.