Documentation ¶
Overview ¶
very basic colorfoul log on the stderr console for more serious needs consider using https://github.com/uber-go/zap
Index ¶
- func DoItOrDie(err error, message string, v ...interface{})
- func Err(message string, v ...interface{})
- func Fatal(message string, v ...interface{})
- func GetCaller(skip int) (file string, line int, function string)
- func GetTimeStamp() string
- func Info(message string, v ...interface{})
- func Trace(message string, v ...interface{}) (string, time.Time)
- func Un(message string, start time.Time)
- func Warn(message string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(message string, v ...interface{})
Fatalf is equivalent to Err() followed by a call to os.Exit(1).
func GetTimeStamp ¶
func GetTimeStamp() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.