log

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DebugLevel = logrus.DebugLevel

DebugLevel defines the dubug verbosity of the logger

Variables

This section is empty.

Functions

func New

func New() *logrus.Logger

New returns a new logger

Types

type Logger

type Logger struct {
	logrus.Logger
}

Logger defines a logger object

func DummyLogger

func DummyLogger() *Logger

DummyLogger provides a dummy logger object

func FileLogger

func FileLogger(file string) *Logger

FileLogger returns a logger backed by file

func StreamLogger

func StreamLogger(w interface {
	io.Writer
}) *Logger

StreamLogger returns a logger backed by a provided io.Writter

func (*Logger) MDebugf

func (l *Logger) MDebugf(format string, args ...interface{})

MDebugf prints a multiline debug message. Multiple lines are splitted into multiple log entries

Jump to

Keyboard shortcuts

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