Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct { NoUseColors bool // contains filtered or unexported fields }
CLI is a formatter for outputting CLI logs
type Formatter ¶
type Formatter interface { // Format formats the log event data into bytes Format(event *LogEvent) ([]byte, error) }
Formatter type format raw logging data into something useful
type LogEvent ¶
type LogEvent struct { Message string Level levels.Level Metadata map[string]string KeyValuePair []types.KeyValuePair }
LogEvent is the respresentation of a single event to be logged.
Click to show internal directories.
Click to hide internal directories.