log

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LevelDebug3   = log.LevelDebug3
	LevelDebug2   = log.LevelDebug2
	LevelDebug    = log.LevelDebug
	LevelInfo     = log.LevelInfo
	LevelWarning  = log.LevelWarning
	LevelError    = log.LevelError
	LevelCritical = log.LevelCritical
)

Log levels constants.

Variables

View Source
var (
	// SetLevel is the set level function
	SetLevel = logger.SetLevel
	// Level is the current module log level.
	Level = logger.Level
	// Debug3f writes the formatted debug log.
	Debug3f = logger.Debug3f
	// Debug2f writes the formatted debug log.
	Debug2f = logger.Debug2f
	// Debugf writes the formatted debug log.
	Debugf = logger.Debugf
	// Infof writes the formatted info log.
	Infof = logger.Infof
	// Warningf writes the formatted warning log.
	Warningf = logger.Warningf
	// Errorf writes the formatted error log.
	Errorf = logger.Errorf
	// Fatalf writes the formatted fatal log.
	Fatalf = logger.Fatalf
	// Panicf writes the formatted panic log.
	Panicf = logger.Panicf
	// Debug3 writes the debug3 level logs.
	Debug3 = logger.Debug3
	// Debug2 writes the debug2 level logs.
	Debug2 = logger.Debug2
	// Debug writes the  debug log.
	Debug = logger.Debug
	// Info writes the info log.
	Info = logger.Info
	// Warning writes the warning log.
	Warning = logger.Warning
	// Error writes the error log.
	Error = logger.Error
	// Fatal writes the fatal log.
	Fatal = logger.Fatal
	// Panic writes the panic log.
	Panic = logger.Panic
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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