Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter interface {
Format(level Level, timestamp time.Time, message string, fields ...string) string
}
Formatter is the interface for formatting log messages
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is the main logger struct
Click to show internal directories.
Click to hide internal directories.