Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFileWriter ¶
DefaultFileWriter uses FileWriteObserver to stream logs to an log file
func DefaultIOWriter ¶
DefaultIOWriter uses IOWriteObserver to stream logs to os.Stdout and os.Stderr using logz.DefaultFormatter
func NewIOWriteFunc ¶
NewIOWriteFunc a transport function that accepts a log.Entry and writes it to the provided io.Writers
func SuggestedLogFileWriter ¶
SuggestedLogFileWriter creates a file writer that uses a suggested log file by tool and filename
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func (*FileWriter) Cleanup ¶
func (f *FileWriter) Cleanup() error
func (*FileWriter) Name ¶
func (f *FileWriter) Name() string
func (*FileWriter) Stream ¶
func (f *FileWriter) Stream() chan logz.ThreadSaveEntry
Click to show internal directories.
Click to hide internal directories.