logger

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LOG_VERBOSE byte = 0
	LOG_INFO    byte = 1
	LOG_WARNING byte = 2
	LOG_ERROR   byte = 3
	LOG_FATAL   byte = 4
)
View Source
var EXIT_ON_FATAL = true
View Source
var LOGLEVEL byte = LOG_INFO

Functions

func Error

func Error(format string, a ...any) string

func Fatal

func Fatal(format string, a ...any) string

func Info

func Info(format string, a ...any) string

func SetExitOnFatal

func SetExitOnFatal(value bool)

func SetLogLevel

func SetLogLevel(level byte)

func Verbose

func Verbose(format string, a ...any) string

func Warning

func Warning(format string, a ...any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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