log

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Logging functions and logger object.

Index

Constants

This section is empty.

Variables

View Source
var Logger = logrus.New()

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func DiscordGoLogger

func DiscordGoLogger(msgL, _ int, format string, a ...interface{})

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func GetLevel

func GetLevel() logrus.Level

func Info

func Info(args ...interface{})

func Infof

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

func IsLevelEnabled

func IsLevelEnabled(level logrus.Level) bool

func SetLevel

func SetLevel(level logrus.Level)

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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