logger

package
v0.13.85 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

Debug logs at the debug level.

func Debugf

func Debugf(format string, a ...any)

Debugf logs at the debug level with string formatting

func DecreasePadding

func DecreasePadding()

DecreasePadding decreases padding

func Error

func Error(msg string)

Error logs at the error level.

func Errorf

func Errorf(format string, a ...any)

Errorf logs at the debug level with string formatting

func Fatal

func Fatal(msg string)

Fatal logs at the fatal levl.

func Fatalf

func Fatalf(format string, a ...any)

Fatalf logs at the debug level with string formatting

func IncreasePadding

func IncreasePadding()

IncreasePadding increases padding

func Info

func Info(msg string)

Info logs at the info level.

func Infof

func Infof(format string, a ...any)

Infof logs at the debug level with string formatting

func SetLevel

func SetLevel(level log.Level)

SetLevel sets the log level

func Warn

func Warn(msg string)

Warn logs at the warn level.

func Warnf

func Warnf(format string, a ...any)

Warnf logs at the debug level with string formatting

func WithError

func WithError(err error) *log.Entry

WithError logs an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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