Documentation
¶
Overview ¶
Package logging provides log rotation for git-courer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RotatingLogWriter ¶
type RotatingLogWriter struct {
// contains filtered or unexported fields
}
RotatingLogWriter implements log rotation (max N lines).
func NewRotatingLogWriter ¶
func NewRotatingLogWriter(path string, maxLines int) (*RotatingLogWriter, error)
NewRotatingLogWriter creates a new rotating log writer.
Click to show internal directories.
Click to hide internal directories.