Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶
type Formatter struct { Writer // contains filtered or unexported fields }
Formatter is a useful Writer for testing purposes. Each component of the logging message is stored in the Log array.
type LogValues ¶
type LogValues struct { Level loggo.Level Module string Filename string Line int Timestamp time.Time Message string }
LogValues represents a single logging call.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a useful loggo.Writer for testing purposes. Each component of the logging message is stored in the Log array.
func TraceLogger ¶
TraceLogger returns the named logger. It also sets the logger's writer and returns it.
Click to show internal directories.
Click to hide internal directories.