package
Version:
v0.0.5-alpha
Opens a new window with list of versions in this module.
Published: Jul 19, 2022
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
const (
ModeDiscard LogMode = 1 << iota
ModeConsole
ModeFile
)
Rotator represents a struct responsible for writing into a log file while
rotating the file when it reached maxSize.
Close closes the io.Writer of the Rotator.
Write writes the data into the log file and initiates rotation, if necessary
Source Files
¶
Click to show internal directories.
Click to hide internal directories.