Documentation
¶
Index ¶
Constants ¶
View Source
const ( FormatConsole = "console" FormatJSON = "json" OutputPathStdErr = "stderr" OutputPathStdOut = "stdout" InvalidLevelError = "invalid log level set" )
Variables ¶
View Source
var ( ErrInvalidLevel = fmt.Errorf(InvalidLevelError) ErrInvalidOutputPath = fmt.Errorf(invalidOutputPathError + OutputPathStdOut + ", " + OutputPathStdErr) ErrInvalidErrorOutputPath = fmt.Errorf(invalidErrOutputPathError + OutputPathStdOut + ", " + OutputPathStdErr) ErrInvalidFormat = fmt.Errorf(invalidFormatPathError + FormatJSON + ", " + FormatConsole) )
Functions ¶
func InitializeLogger ¶
func InitializeLogger(inputConfig configuration.Logging) (*zap.Logger, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.