log

package
v0.0.0-...-8b8575e Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(format string, v ...interface{})
	Info(format string, v ...interface{})
	Warn(format string, v ...interface{})
	Error(format string, v ...interface{})
	Panic(format string, v ...interface{})
	Fatal(format string, v ...interface{})
	DebugBlock(prefix, format string, v ...interface{})
	InfoBlock(prefix, format string, v ...interface{})
}

Logger is the logging interface for goresctl

func NewLoggerWrapper

func NewLoggerWrapper(l *stdlog.Logger) Logger

NewLoggerWrapper wraps an implementation of the golang standard intreface into a goresctl specific compatible logger interface

Jump to

Keyboard shortcuts

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