Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogWriter ¶
type LogWriter struct {
// contains filtered or unexported fields
}
LogWriter implements the io.Writer interface by passing each line to the Logger after it hits a line break ('\n').
func NewLogWriter ¶
NewLogWriter creates a LogWriter using the logger provided
type StandardLogger ¶
type StandardLogger struct { // Logger may be provided optionally to customize the standard logger // If it is nil, the global default logger will be used Logger *log.Logger }
StandardLogger implements the Logger interfaces using the standard library "log" package
func (*StandardLogger) Log ¶
func (l *StandardLogger) Log(msg string)
Log a line to the standard logger
Click to show internal directories.
Click to hide internal directories.