levels

package
v0.0.0-...-5731446 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2016 License: MIT Imports: 0 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevelsToString = map[LogLevel]string{
	TRACE:   "TRACE",
	DEBUG:   "DEBUG",
	WARN:    "WARN",
	INFO:    "INFO",
	ERROR:   "ERROR",
	FATAL:   "FATAL",
	INHERIT: "INHERIT",
}
View Source
var StringToLogLevels = map[string]LogLevel{
	"TRACE":   TRACE,
	"DEBUG":   DEBUG,
	"WARN":    WARN,
	"INFO":    INFO,
	"ERROR":   ERROR,
	"FATAL":   FATAL,
	"INHERIT": INHERIT,
}

Functions

This section is empty.

Types

type LogLevel

type LogLevel int
const (
	FATAL LogLevel = iota
	ERROR
	INFO
	WARN
	DEBUG
	TRACE
	INHERIT
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL