logger

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v0.28.0

func Close()

Close closes the logger and flushes any buffered entries

func Debug

func Debug(msg string, args ...any)

Debug logs a debug message

func Error

func Error(msg string, args ...any)

Error logs an error message to the error log file

func Fatal added in v0.28.0

func Fatal(msg string, args ...any)

Fatal logs a fatal message and exits

func Info

func Info(msg string, args ...any)

Info logs an info message

func Init

func Init(verbose bool)

Init initializes the logger with the specified verbose level

func Sync added in v0.28.0

func Sync() error

Sync flushes any buffered log entries

func Warn

func Warn(msg string, args ...any)

Warn logs a warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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