Documentation ¶
Index ¶
- Constants
- func CheckErrFatal(err error)
- func Debug(s string)
- func Error(err error, s string)
- func ErrorS(s string)
- func ExitNow(msg string)
- func Fatal(err error, s string)
- func FatalS(s string)
- func Info(s string)
- func Init(logger int, debug bool)
- func Message(s string)
- func PanicNow()
- func Success(s string)
- func Warn(s string)
Constants ¶
View Source
const ( LOG_PRETTY = 0 // own pretty printer with emojis , DEFAULT LOGGER PHUSLU_PRETTY = 1 PHUSLU_JSON = 2 )
define logger Ids
Variables ¶
This section is empty.
Functions ¶
func CheckErrFatal ¶
func CheckErrFatal(err error)
CheckErrFatal: checks for error and exits the program #panic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.