slogcron

package module
v0.0.0-...-3e1e138 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*slog.Logger
}

func NewLogger

func NewLogger(l *slog.Logger) *Logger

func (*Logger) Error

func (l *Logger) Error(err error, msg string, keysAndValues ...interface{})

Error logs an error condition.

func (*Logger) Info

func (l *Logger) Info(msg string, keysAndValues ...interface{})

Info logs routine messages about cron's operation.

Jump to

Keyboard shortcuts

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