logging_compat

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 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 added in v1.0.2

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

func NewWriterWithLevel added in v1.0.2

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

func (*Writer) TruncateDate added in v1.0.2

func (w *Writer) TruncateDate(b bool)

func (*Writer) Write added in v1.0.2

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