logger

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogDebug    = "Debug"
	LogInfo     = "Info"
	LogWarning  = "Warning"
	LogError    = "Error"
	LogCritical = "Critical"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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, 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