logging

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(v ...interface{})

func ErrorToDiscord

func ErrorToDiscord(v ...interface{})

func ErrorWithAttachment

func ErrorWithAttachment(attachment []byte, v ...interface{})

func Info

func Info(v ...interface{})

func InfoToDiscord

func InfoToDiscord(v ...interface{})

func InfoWithAttachment

func InfoWithAttachment(attachment []byte, v ...interface{})

func Panic

func Panic(v ...interface{})

func PanicToDiscord

func PanicToDiscord(v ...interface{})

func PanicWithAttachment

func PanicWithAttachment(attachment []byte, v ...interface{})

func Setup

func Setup(hookURL, pingID string)

Setup initialize the variables for calling webhooks TODO: Make this so it can be reloadable with sighup

func Success

func Success(v ...interface{})

func SuccessToDiscord

func SuccessToDiscord(v ...interface{})

func SuccessWithAttachment

func SuccessWithAttachment(attachment []byte, v ...interface{})

func Warn

func Warn(v ...interface{})

func WarnToDiscord

func WarnToDiscord(v ...interface{})

func WarnWithAttachment

func WarnWithAttachment(attachment []byte, 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