level

package
v0.0.0-...-b3641da Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

type LogLevel int8

LogLevel represent the level of the logger

const (
	// ALL level log all log level
	ALL LogLevel = iota
	// DEBUG level log all log having level greater than or equal to DEBUG
	DEBUG
	// INFO level log all log having level greater than or equal to INFO
	INFO
	// WARN level log all log having level greater than or equal to WARN
	WARN
	// ERROR level log all log having level greater than or equal to ERROR
	ERROR
	// CRITICAL level log all log having level greater than or equal to CRITICAL
	CRITICAL
)

func (LogLevel) Bytes

func (level LogLevel) Bytes() []byte

Bytes return the level string

Jump to

Keyboard shortcuts

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