Documentation ¶
Index ¶
- type Level
- func (l Level) Enabled(level Level) bool
- func (l Level) Is(level Level) bool
- func (l Level) MarshalBinary() ([]byte, error)
- func (l Level) MarshalJSON() ([]byte, error)
- func (l Level) MarshalText() ([]byte, error)
- func (i Level) String() string
- func (l *Level) UnmarshalBinary(in []byte) error
- func (l *Level) UnmarshalJSON(in []byte) error
- func (l *Level) UnmarshalText(in []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level uint32
Level log.
const ( Emergency Level = iota // emerg Alert // alert Critical // crit Error // error Warning // warning Notice // notice Info // info Debug // debug )
available log levels.
func (Level) MarshalBinary ¶ added in v0.5.0
func (Level) MarshalJSON ¶
func (Level) MarshalText ¶ added in v0.5.0
func (*Level) UnmarshalBinary ¶ added in v0.5.0
func (*Level) UnmarshalJSON ¶
func (*Level) UnmarshalText ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.