log

package
v0.0.0-...-4f0ea1d Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Output debug-level log message

func Error

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

Output error-level log message

func Info

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

Output info-level log message

func SetGlobalLevel

func SetGlobalLevel(level Level)

func Success

func Success(format string, args ...interface{})

Output info-level log message (in green)

func Warning

func Warning(format string, args ...interface{})

Output warning-level log message

Types

type Level

type Level int
const (
	NoneLevel Level = iota
	ErrorLevel
	WarningLevel
	InfoLevel
	DebugLevel
)

Jump to

Keyboard shortcuts

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