logger

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel added in v0.0.16

type LogLevel string
const (
	LogDebug    LogLevel = "Debug"
	LogInfo     LogLevel = "Info"
	LogWarning  LogLevel = "Warning"
	LogError    LogLevel = "Error"
	LogCritical LogLevel = "Critical"
)

type Logger added in v0.0.14

type Logger struct {
	// contains filtered or unexported fields
}

func New added in v0.0.14

func New(outputLogs bool) *Logger

func (*Logger) Close added in v0.0.14

func (l *Logger) Close()

func (*Logger) Log added in v0.0.14

func (l *Logger) Log(level LogLevel, message string)

func (*Logger) SetLogFile added in v0.0.14

func (l *Logger) SetLogFile(accessPath, errorPath string) error

Jump to

Keyboard shortcuts

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