logger

package
v0.0.0-...-0f2a3c8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

Debug can be used everywhere, this should be your goto log level, its for things you want to see while developing, but you don't really care about once things start working

func Error

func Error(v ...interface{})

Error prints things out at the highest priority, only things going horribly wrong that will lead to crashes should use this

func Fatal

func Fatal(v ...interface{})

Fatal means something unrecoverable happened

func Info

func Info(v ...interface{})

Info is for important information, it should be used sparingly, like for saying server shutdown, or sql database reset

func OCD

func OCD(v ...interface{})

OCD is the most verbose logging level, use this if your printing information in like a tight loop, or something else that would similaraly clog logs

func Warn

func Warn(v ...interface{})

Warn is for when things go wrong but it's recoverable

Types

This section is empty.

Jump to

Keyboard shortcuts

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