Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMode = Errors
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewStructuredLogger ¶ added in v1.5.0
NewStructuredLogger returns a logger that calls the same log function in a structured way.
func (*Logger) LogFunc ¶
func (l *Logger) LogFunc() middleware.Logger
type Mode ¶
type Mode string
Mode defines the logging verbosity.
func SplitNameMode ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.