Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type LevelWriter ¶
func NewLevelWriter ¶
func NewLevelWriter(stdWriter io.Writer, errWriter io.Writer) LevelWriter
NewLevelWriter returns a LevelWriter given two io.Writers for errors and others
func (*LevelWriter) WriteLevel ¶
WriteLevel writes logs to different writers for different log levels
type Logger ¶
func (*Logger) HandleConfigChange ¶
func (l *Logger) HandleConfigChange()
type RollingFileWriter ¶
func NewFileWriter ¶
func NewFileWriter(filePath string) RollingFileWriter
NewFileWriter returns a rolling file writer implementation
Click to show internal directories.
Click to hide internal directories.