logging

package
v10.0.18-REST Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LogPrefixDiscord - log output format for logs sent from this package
	LogPrefixDiscord = "[DISCORD  ]"
)

Variables

View Source
var LogLevel int

LogLevel - The level of logging to allow in the console

Functions

func Debugf

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

Debugf - Logs the event at the Debug level

func Debugln

func Debugln(args ...any)

Debugln - Logs the event at the Debug level

func Errorln

func Errorln(args ...any)

Errorln - Logs the event at the Error level

func Fatalln

func Fatalln(args ...any)

Fatalln - Logs the event at the Fatal level

func Infoln

func Infoln(args ...any)

Infoln - Logs the event at the Infoln level

func Tracef

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

Tracef - Logs the event at the Traceln level with formatting

func Traceln

func Traceln(args ...any)

Traceln - Logs the event at the Trace level

func Warnf

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

Warnf - Logs the event at the Warning level with formatting

func Warnln

func Warnln(args ...any)

Warnln - Logs the event at the Warning level

Types

This section is empty.

Jump to

Keyboard shortcuts

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