Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int8
Define a Level type to represent the severity level for a log entry.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Define a custom Logger type. This will hold: - the output destination that the log entries will be writen to, - the minimum severity level that log entries will be writen for, - a mutex for coordinating the writes.
Click to show internal directories.
Click to hide internal directories.