log

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Trace  func(...interface{})
	Tracef func(string, ...interface{})
	Debug  func(...interface{})
	Debugf func(string, ...interface{})
	Info   func(...interface{})
	Infof  func(string, ...interface{})
	Warn   func(...interface{})
	Warnf  func(string, ...interface{})
	Error  func(...interface{})
	Errorf func(string, ...interface{})
	Print  func(...interface{}) (int, error)
	Printf func(string, ...interface{}) (int, error)
)

Functions

func Init

func Init(level ...Level)

Types

type Level

type Level logger.Level
var (
	DefaultLevel Level = Level(logger.LevelInfo)
	LevelDebug   Level = Level(logger.LevelDebug)
	LevelTrace   Level = Level(logger.LevelTrace)
)

Jump to

Keyboard shortcuts

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