logger

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()

Functions

func Clear

func Clear()

func Error

func Error(message string)

func GetLogs

func GetLogs() []domain.Log

func Info

func Info(message string)

func Print

func Print(message string)

func Warn

func Warn(message string)

Types

type Logger

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

func New

func New() *Logger

func (*Logger) AddLog

func (l *Logger) AddLog(log domain.Log)

func (*Logger) Changed

func (l *Logger) Changed() bool

func (*Logger) ClearLogs

func (l *Logger) ClearLogs()

func (*Logger) GetLogs

func (l *Logger) GetLogs() []domain.Log

Jump to

Keyboard shortcuts

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