Documentation
¶
Overview ¶
Package rfw implements a log rotation aware file writer. It will always write to the path that you give it, even if that file is deleted or moved out from under it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
A file rotation aware writer
func Open ¶
Open returns a new Writer at the specified path.
If the file does not exist it will be created with the specified mode. If the file does exist it will be appended to.
