log

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug logs a debug message

func Error

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

Error logs an error message

func Fatal

func Fatal(format string, v ...interface{})

Fatal logs an error message and exits

func Info

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

Info logs an info message

func SetLevel

func SetLevel(level string)

SetLevel sets the logging level

Types

type Level

type Level int
const (
	LevelError Level = iota
	LevelInfo
	LevelDebug
)

Jump to

Keyboard shortcuts

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