log

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugBlock

func DebugBlock(l Logger, heading, linePrefix, format string, v ...interface{})

func InfoBlock

func InfoBlock(l Logger, heading, linePrefix, format string, v ...interface{})

Types

type Logger

type Logger interface {
	Debugf(format string, v ...interface{})
	Infof(format string, v ...interface{})
	Warnf(format string, v ...interface{})
	Errorf(format string, v ...interface{})
	Panicf(format string, v ...interface{})
	Fatalf(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