logging

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TraceLevel = 600
	DebugLevel = 500
	InfoLevel  = 400
	WarnLevel  = 300
	ErrorLevel = 200
	FatalLevel = 100
	Everything = 700
)

Variables

View Source
var LoggingLevel int = 300

Functions

func Debug added in v0.1.2

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

Debug Debug

func Error

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

Error ErrorF

func Fatal added in v0.1.2

func Fatal(msg string, a ...interface{})

Error ErrorF

func Info

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

Info Info

func Level

func Level(level int, msg string, a ...interface{})

Level logs with predefined levels 0-100 TRACE 100-200 DEBUG 200-300 INFO 300-400 WARN 400-500 ERROR

func Print

func Print(msg string, a ...interface{})

Print Print

func SetLevel added in v0.1.2

func SetLevel(l int)

SetLevel set level

func Success

func Success(msg string, a ...interface{})

Success Success

func Trace added in v0.1.2

func Trace(msg string, a ...interface{})

Trace Trace

func Use

func Use(a ...interface{})

func Warn

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

Warn WarnF

Types

This section is empty.

Jump to

Keyboard shortcuts

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