log

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFatalHook

func AddFatalHook(f func())

func Debugf

func Debugf(format string, args ...any)

func Errorf

func Errorf(format string, args ...any)

func Fatalf

func Fatalf(format string, args ...any)

Executes fatal hooks in reverse order before invoking the system Log.Fatalf to exit

func Infof

func Infof(format string, args ...any)

func SetDebug

func SetDebug(enabled bool)

func SetLevel

func SetLevel(l string)

func SetLogger

func SetLogger(l *syslog.Logger)

func Warnf

func Warnf(format string, args ...any)

Types

type LogLevel

type LogLevel int

Jump to

Keyboard shortcuts

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