log

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug messages

func Debugf

func Debugf(format string, args ...interface{})

Debugf messages

func Error

func Error(args ...interface{})

Error messages

func Errorf

func Errorf(format string, args ...interface{})

Errorf messages

func Fatal

func Fatal(args ...interface{})

Fatal error messages

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf error messages

func GetDefaultLevel

func GetDefaultLevel() logrus.Level

GetDefaultLevel returns the defaultLevel

func GetLogger

func GetLogger(level logrus.Level, logFile string) *logrus.Logger

GetLogger returns the pre-configured loggers

func Info

func Info(args ...interface{})

Info messages

func Infof

func Infof(format string, args ...interface{})

Infof messages

func Panic

func Panic(args ...interface{})

Panic logs a message and panics

func Panicf

func Panicf(format string, args ...interface{})

Panicf logs a message and panics

func Printf

func Printf(format string, args ...interface{})

Printf out to the console

func Println

func Println(args ...interface{})

Println out to console

func SetLevel

func SetLevel(level logrus.Level) bool

SetLevel of logging

func Warning

func Warning(args ...interface{})

Warning messages

func Warningf

func Warningf(format string, args ...interface{})

Warningf messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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