logger

package
v0.0.0-...-f35223c Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log interface {
	// Info logs to the INFO log.
	Info(args ...interface{})
	// Infof logs to the INFO log.
	Infof(format string, args ...interface{})
	// Warn logs to the WARNING and INFO logs.
	Warn(args ...interface{})
	// Warnf logs to the WARNING and INFO logs.
	Warnf(format string, args ...interface{})
	// Error logs to the ERROR, WARNING, and INFO logs.
	Error(args ...interface{})
	// Errorf logs to the ERROR, WARNING, and INFO logs.
	Errorf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger(logger *log.Logger) Log

NewDefaultLogger Creates a new Log

Jump to

Keyboard shortcuts

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