logger

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close closes the log file

func Disable

func Disable()

Disable disables logging (useful for tests)

func Enable

func Enable()

Enable enables logging

func Error

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

Error logs an error message

func Init

func Init() error

Init initializes the logger and creates the log file

func Warn

func Warn(format 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