logger

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logrus.New()

Logger is the global logrus logger instance

Functions

func Debug

func Debug(args ...any)

Convenience functions using the global Logger

func Debugf

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

func Error

func Error(args ...any)

func Errorf

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

func GetLevel

func GetLevel() string

GetLevel gets the current log level

func Info

func Info(args ...any)

func Infof

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

func SetLevel

func SetLevel(level string) error

SetLevel sets the log level

func Warn

func Warn(args ...any)

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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