logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, v ...any)

Errorf logs an error message with formatting.

func LogFailure

func LogFailure(email string, subject string)

LogFailure logs and appends a failed email to CSV.

func LogSuccess

func LogSuccess(email string, subject string)

LogSuccess logs and appends a successful email to CSV.

func New added in v1.0.0

func New(_ string) interface {
	Infof(string, ...any)
	Warnf(string, ...any)
	Errorf(string, ...any)
}

New returns a minimal logger compatible with the scheduler's Logger interface. Name is currently ignored but kept for API compatibility.

func Warnf

func Warnf(format string, v ...any)

Warnf logs a warning message with formatting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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