package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Dec 20, 2019
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Setup configures the sherpa logging based on user configuration.
Format represents our log format type.
const (
FormatAuto Format = iota
FormatZerolog
FormatHuman
)
Our log format options.
String takes a Format type and converts to a string.
Level is our log level.
const (
LevelBegin Level = iota - 2
LevelDebug
LevelInfo
LevelWarn
LevelError
LevelFatal
LevelEnd
)
These represent the support log levels for configuration.
String takes a Level type and converts to a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.