zapcron

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(l *zap.Logger) cron.Logger

Types

type CronLogger

type CronLogger struct {
	L *zap.Logger
}

func (*CronLogger) Error

func (cl *CronLogger) Error(err error, msg string, keysAndValues ...interface{})

Error logs an error condition.

func (*CronLogger) Info

func (cl *CronLogger) 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