Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is an adapter that allows to log using Uber's Zap wherever a Logger interface is expected.
func NewLogger ¶
NewLogger initialises a Zap logger, either by locating and loading a configuration fil from disk, or by assuming the sane defaults for a production environment.
Click to show internal directories.
Click to hide internal directories.