logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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()

func EnablePretty

func EnablePretty()

func Error

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

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

func Fatal

func Fatal(msg interface{})

Fatal error, should close the application

func Notice

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

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

func SetOutputPipeFunc

func SetOutputPipeFunc(callback func(string))

SetOutputPipeFunc 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{})

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