# Functions
Extension configures the file extension to use for the log file.
Interval sets the time interval for log rotation in addition to log rotation by size.
Lstat returns a FileInfo describing the named file.
MaxBackups configures the maximum number of backup files to save (not counting the active file).
MaxSizeBytes configures the maximum number of bytes that a file should contain before being rotated.
NewFileRotator returns a new Rotator.
Permissions configures the file permissions to use for the file that the Rotator creates.
RedirectStandardError causes all standard error output to be directed to the given file.
RedirectStderr causes all writes to standard error to be redirected to this rotator.
RotateOnStartup immediately rotates files on startup rather than appending to the existing file.
SafeFileRotate safely rotates an existing file under path and replaces it with the tempfile.
Stat returns a FileInfo describing the named file.
SyncParent fsyncs parent directory.
No description provided by the author
WithLogger injects a logger implementation for logging debug information.
Wrap wraps the given os.FileInfo and returns a FileInfo in order to expose the UID and GID in a uniform manner across operating systems.
# Constants
No description provided by the author
MaxBackupsLimit is the upper bound on the number of backup files.
# Structs
Rotator is a io.WriteCloser that automatically rotates the file it is writing to when it reaches a maximum size and optionally on a time interval basis.
# Type aliases
RotatorOption is a configuration option for Rotator.