log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG    = logLevel(log.LvlDebug)
	INFO     = logLevel(log.LvlInfo)
	WARN     = logLevel(log.LvlWarn)
	ERROR    = logLevel(log.LvlError)
	CRITICAL = logLevel(log.LvlCrit)
)

Variables

This section is empty.

Functions

func New

func New(lvl string, module string) log.Logger

New 返回一个logger对象

Types

This section is empty.

Jump to

Keyboard shortcuts

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