Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrIllegalLevel = errors.New("illegal level")
)
Functions ¶
This section is empty.
Types ¶
type NamesAware ¶
type NamesAware interface {
GetLevelNames() Names
}
type Serializable ¶
type Serializable interface { encoding.TextMarshaler encoding.TextUnmarshaler fmt.Stringer flag.Value AsLevel() *log.Level }
func AsSerializable ¶
func AsSerializable(level *log.Level, aware NamesAware) Serializable
Click to show internal directories.
Click to hide internal directories.