Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLogWriter ¶
type FileLogWriter struct {
// contains filtered or unexported fields
}
func NewFileLogWriter ¶
func NewFileLogWriter(path string) (*FileLogWriter, error)
func (*FileLogWriter) Close ¶
func (this *FileLogWriter) Close()
func (*FileLogWriter) Log ¶
func (this *FileLogWriter) Log(log LogEntry)
type LogWriter ¶
type LogWriter interface {
Log(LogEntry)
}
func NewStdOutLogWriter ¶
func NewStdOutLogWriter() LogWriter
type NoOpLogWriter ¶
type NoOpLogWriter struct { }
func (*NoOpLogWriter) Log ¶
func (this *NoOpLogWriter) Log(entry LogEntry)
type StdOutLogWriter ¶
type StdOutLogWriter struct {
// contains filtered or unexported fields
}
func (*StdOutLogWriter) Log ¶
func (this *StdOutLogWriter) Log(log LogEntry)
Click to show internal directories.
Click to hide internal directories.