loggers

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JournaldLog

type JournaldLog struct {
}

The JournaldLog struct. This will implement services.Logger.

func NewJournaldLog

func NewJournaldLog() *JournaldLog

NewJournaldLog will create a new JournaldLog and return the address of it.

func (*JournaldLog) Panic

func (l *JournaldLog) Panic(message ...any)

func (*JournaldLog) Print

func (l *JournaldLog) Print(message ...any)

func (*JournaldLog) PrintAlert

func (l *JournaldLog) PrintAlert(message ...any)

func (*JournaldLog) PrintCritical

func (l *JournaldLog) PrintCritical(message ...any)

func (*JournaldLog) PrintDebug

func (l *JournaldLog) PrintDebug(message ...any)

func (*JournaldLog) PrintEmergancy

func (l *JournaldLog) PrintEmergancy(message ...any)

func (*JournaldLog) PrintError

func (l *JournaldLog) PrintError(message ...any)

func (*JournaldLog) PrintInfo

func (l *JournaldLog) PrintInfo(message ...any)

func (*JournaldLog) PrintNotice

func (l *JournaldLog) PrintNotice(message ...any)

func (*JournaldLog) PrintWarning

func (l *JournaldLog) PrintWarning(message ...any)

func (*JournaldLog) Println

func (l *JournaldLog) Println(message ...any)

type WriterLogger

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

func NewWriterLogger

func NewWriterLogger(writer io.Writer) *WriterLogger

func (*WriterLogger) Panic

func (l *WriterLogger) Panic(message ...any)

func (*WriterLogger) Print

func (l *WriterLogger) Print(message ...any)

func (*WriterLogger) PrintAlert

func (l *WriterLogger) PrintAlert(message ...any)

func (*WriterLogger) PrintCritical

func (l *WriterLogger) PrintCritical(message ...any)

func (*WriterLogger) PrintEmergancy

func (l *WriterLogger) PrintEmergancy(message ...any)

func (*WriterLogger) PrintError

func (l *WriterLogger) PrintError(message ...any)

func (*WriterLogger) PrintInfo

func (l *WriterLogger) PrintInfo(message ...any)

func (*WriterLogger) PrintNotice

func (l *WriterLogger) PrintNotice(message ...any)

func (*WriterLogger) PrintWarning

func (l *WriterLogger) PrintWarning(message ...any)

func (*WriterLogger) Println

func (l *WriterLogger) Println(message ...any)

Jump to

Keyboard shortcuts

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