Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExpandedError ¶
type ExpandedError interface { Title() string Data() interface{} }
An ExpandedError will set message and data of the line logged by Request to Title and Data respectively.
type Logger
deprecated
type Logger struct {
// contains filtered or unexported fields
}
A Logger writes information.
Deprecated: Prefer log/slog instead (which is used as the implementation here, if needed for an example of how it can be used).
Click to show internal directories.
Click to hide internal directories.