Documentation ¶
Overview ¶
Package level defines the standard levels and their validations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidLogLevelError ¶
InvalidLogLevelError is an error representing an invalid log level occurrence
func (InvalidLogLevelError) Error ¶
func (e InvalidLogLevelError) Error() string
Error satisfies the error interface by returning a string message
type LogLevel ¶
type LogLevel uint8
A LogLevel defines a logging severity level, akin to the severity levels used in the Syslog standard. (https://tools.ietf.org/html/rfc5424)
The log severity levels, as defined in RFC 5424 (Section 6.2.1): https://tools.ietf.org/html/rfc5424#section-6.2.1
func NewLogLevel ¶
NewLogLevel gets a log level value by a string name
Click to show internal directories.
Click to hide internal directories.