Documentation
¶
Index ¶
- Constants
- func Debug(format string, args ...interface{})
- func DebugCtx(context, format string, args ...interface{})
- func Error(format string, args ...interface{})
- func ErrorCtx(context, format string, args ...interface{})
- func Info(format string, args ...interface{})
- func InfoCtx(context, format string, args ...interface{})
- func Warn(format string, args ...interface{})
- func WarnCtx(context, format string, args ...interface{})
- type Level
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Cyan = "\033[36m" Gray = "\033[90m" )
Variables ¶
This section is empty.
Functions ¶
func DebugCtx ¶
func DebugCtx(context, format string, args ...interface{})
DebugCtx log debug avec contexte
func ErrorCtx ¶
func ErrorCtx(context, format string, args ...interface{})
ErrorCtx log error avec contexte
Types ¶
Click to show internal directories.
Click to hide internal directories.