logger

package
v0.5.1-0...-f3d9953 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisablePretty

func DisablePretty()

DisablePretty

func EnablePretty

func EnablePretty()

EnablePretty

func Error

func Error(msg interface{}, v ...interface{})

Error Notifications for colourer recoverable error e.g. Logging colourer missing resource (material, model)

func Notice

func Notice(msg interface{}, v ...interface{})

Notice Notification for info that isn't related to any issue. e.g. Logging number of loaded entities

func Panic

func Panic(msg interface{})

Panic error, should close the application

func SetWriter

func SetWriter(writer io.Writer)

SetWriter exposes the ability to change where logs are written to by replacing the final print function with colourer custom implementation

func Warn

func Warn(msg interface{}, v ...interface{})

Warn Notifications for an unintended, but planned for issue e.g. Logging colourer prop that uses colourer non-existent collision model

Types

This section is empty.

Jump to

Keyboard shortcuts

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