log

package
v0.0.0-...-0e55cf6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCallerDepth = 2
)
View Source
var Logger *logrus.Logger

Functions

func Debug

func Debug(v ...interface{})

Debug output logs at debug level

func Debugf

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

func Error

func Error(v ...interface{})

Error output logs at error level

func Fatal

func Fatal(v ...interface{})

Fatal output logs at fatal level

func Fatalf

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

func Info

func Info(v ...interface{})

Info output logs at info level

func InfoWithSource

func InfoWithSource(v ...interface{})

func Infof

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

func Setup

func Setup()

func TraceIP

func TraceIP(ipaddr, endpoint string)

func Warn

func Warn(v ...interface{})

Warn output logs at warn level

func WarnWithSource

func WarnWithSource(v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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