logutils

package
v0.0.0-...-f0802c0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Crit    = log.New(os.Stderr, "[CRITICAL] ", log.LstdFlags)
	Error   = log.New(os.Stderr, "[ERROR]    ", log.LstdFlags)
	Warning = log.New(os.Stderr, "[WARNING]  ", log.LstdFlags)
	Notice  = log.New(os.Stderr, "[NOTICE]   ", log.LstdFlags)
)

Functions

func LogError

func LogError(err error)

func LogErrorR

func LogErrorR(err error) error

func SetLevel

func SetLevel(level string) error

func UseSyslog

func UseSyslog(tag string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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