logging_compat

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: NCSA Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cron

func Cron(log *logging.Log) *cron

Cron wraps the specified logger with an implementation that provides an interface compatible with cron.Logger.

Types

type Writer

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

func NewWriterWithLevel

func NewWriterWithLevel(log *logging.Log, level string) *Writer

func (*Writer) TruncateDate

func (w *Writer) TruncateDate(b bool)

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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