Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileRotator ¶ added in v0.2.0
func NewFileRotator( config FileRotatorConfig, ) zapcore.WriteSyncer
Types ¶
type Config ¶
type Config struct { Level string Development bool Json bool FileRotator FileRotatorConfig }
func NewDefaultConfig ¶ added in v0.2.0
func NewDefaultConfig() Config
type FileRotatorConfig ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.