logger

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush()

func Init

func Init(opts *Options)

Types

type CronLoggerAdapter added in v0.7.1

type CronLoggerAdapter struct {
}

func NewCronLoggerAdapter added in v0.7.1

func NewCronLoggerAdapter() *CronLoggerAdapter

func (CronLoggerAdapter) Error added in v0.7.1

func (c CronLoggerAdapter) Error(err error, msg string, keysAndValues ...interface{})

Error logs an error condition.

func (CronLoggerAdapter) Info added in v0.7.1

func (c CronLoggerAdapter) Info(msg string, keysAndValues ...interface{})

Info logs routine messages about cron's operation.

type Options added in v0.6.5

type Options struct {
	File    string
	Debug   bool
	Context context.Context
	WG      *sync.WaitGroup
}

Jump to

Keyboard shortcuts

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