logger

package
v0.0.193 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(title string, err error, level int64, notifier model.Notify)

send an error to StdOut *and* a notification to Pushover/Telegram

func ErrorEx

func ErrorEx(title string, err error, order interface{}, level int64, notifier model.Notify)

send an error to StdOut *and* a notification to Pushover/Telegram before we send anything, marshal and then append order to the error (if we have any and the user has included --debug)

func Info

func Info(msg string)

func InfoEx

func InfoEx(title, msg string, level int64, notifier model.Notify)

func Warn

func Warn(err error)

send a warning to StdOut

func WarnEx

func WarnEx(title string, err error, level int64, notifier model.Notify)

send a warning to StdOut *and* a notification to Pushover/Telegram

Types

This section is empty.

Jump to

Keyboard shortcuts

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