Documentation
¶
Index ¶
- Variables
- func Header(messages []string, color string)
- func LimitMessageLength(message string, slice int) (string, string)
- func Log(message string, prefix string)
- func LogColor(message string, color string)
- func LogException(err error, info string)
- func LogInfo(message string, info string, color string)
- func LogInfoSplit(message string, slice int, info string, color string)
- func LogKeyboardInterrupt()
- func LogReplace(message string, color string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Colors = map[string]string{
"R1": "\033[31;1m", "R2": "\033[31;2m",
"G1": "\033[32;1m", "G2": "\033[32;2m",
"Y1": "\033[33;1m", "Y2": "\033[33;2m",
"B1": "\033[34;1m", "B2": "\033[34;2m",
"P1": "\033[35;1m", "P2": "\033[35;2m",
"C1": "\033[36;1m", "C2": "\033[36;2m", "CC": "\033[0m",
}
)
Functions ¶
func LogException ¶
func LogKeyboardInterrupt ¶
func LogKeyboardInterrupt()
func LogReplace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.