Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultDestinationFileInfo ¶
type DefaultDestinationFileInfo struct{}
func (DefaultDestinationFileInfo) FileExists ¶
func (DefaultDestinationFileInfo) FileExists(filename string) (bool, error)
type DefaultFileWriterFunc ¶
type DestinationFileInfo ¶
type FileWriterFactory ¶
type RotatableSink ¶
type RotatableSink struct { WriterFactory FileWriterFactory DestinationFileInfo DestinationFileInfo // contains filtered or unexported fields }
func NewRotatableSink ¶
func NewRotatableSink(fileToWatch string, logLevel lager.LogLevel, fileWriterFactory FileWriterFactory, destinationFileInfo DestinationFileInfo, componentLogger lager.Logger) (*RotatableSink, error)
func (*RotatableSink) Log ¶
func (rs *RotatableSink) Log(logFmt lager.LogFormat)
Click to show internal directories.
Click to hide internal directories.