log

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOG_NOTHING = LogLevel(iota)
	LOG_ERROR
	LOG_WARN
	LOG_INFO
	LOG_DEBUG
)

Variables

This section is empty.

Functions

func CanLog

func CanLog(level LogLevel) bool

func Debug

func Debug(msg string, args ...interface{})

func Error

func Error(msg string, args ...interface{})

func Info

func Info(msg string, args ...interface{})

func SetLevel

func SetLevel(level LogLevel)

func Warn

func Warn(msg string, args ...interface{})

Types

type LogLevel

type LogLevel uint8

func (LogLevel) String

func (level LogLevel) String() string

Jump to

Keyboard shortcuts

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