Documentation
¶
Index ¶
Constants ¶
View Source
const LoggingConfigurationName = "logging"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelLabel ¶ added in v3.1.0
type LevelLabel struct {
// contains filtered or unexported fields
}
func LevelLabelFromInt ¶ added in v3.1.0
func LevelLabelFromInt(i int) LevelLabel
func LevelLabelFromString ¶ added in v3.1.0
func LevelLabelFromString(s string) LevelLabel
func (LevelLabel) MarshalJSON ¶ added in v3.1.1
func (instance LevelLabel) MarshalJSON() ([]byte, error)
func (LevelLabel) String ¶ added in v3.1.0
func (instance LevelLabel) String() string
type LevelLabels ¶ added in v3.1.0
type LevelLabels map[Level]LevelLabel
func DefaultLevelLabels ¶ added in v3.1.0
func DefaultLevelLabels() LevelLabels
func (LevelLabels) LabelFor ¶ added in v3.1.0
func (instance LevelLabels) LabelFor(level Level) LevelLabel
type LoggingConfiguration ¶ added in v3.1.0
type LoggingConfiguration interface {
LevelLabels() LevelLabels
}
Click to show internal directories.
Click to hide internal directories.