Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Info ¶
func Info(i ...interface{})
Info is a function for informing the user what is going on. It will always log to file and optionally with -debug print to stdout and also will have nice coloredoutput as long as -nocolor is not supplied.
func LogError ¶
func LogError(i ...interface{})
LErr is a function for non-fatal errors. It will always log to file and optionally with -debug print to stdout and also will have nice colored output as long as -nocolor is not supplied.
func Trace ¶
func Trace(i ...interface{})
Trace is a function for non-helper functions to call on call. It will always log to file and optionally with -debug print to stdout and also will have nice coloredoutput as long as -nocolor is not supplied. Don't:
Use on primitive, short or otherwise uneeded functions. An example of ones would be the logging functions
Do:
Use on complicated functions, an example would be most of the sde.go file and any method that uses util.TimeFunction on a defer.
func TypeString ¶
func TypeString(i []interface{}) string
TypeString was initially made for our logging functions however it's can be used all over the codebase
Types ¶
This section is empty.