Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Blue = "\033[34m"
View Source
var Cyan = "\033[36m"
View Source
var Green = "\033[32m"
View Source
var Magenta = "\033[35m"
View Source
var Orange = "\033[38;5;208m"
View Source
var Pink = "\033[38;5;206m"
View Source
var Purple = "\033[38;5;141m"
View Source
var Red = "\033[31m"
View Source
var Reset = "\033[0m"
View Source
var White = "\033[38;5;255m"
View Source
var Yellow = "\033[33m"
Functions ¶
func NewConsoleLogger ¶
func NewConsoleLogger() *consolelogger
Types ¶
type Logger ¶
type Logger interface { Info(format string, args ...interface{}) DBInfo(format string, args ...interface{}) Error(format string, args ...interface{}) DBError(format string, args ...interface{}) Fatal(format string, args ...interface{}) DBFatal(format string, args ...interface{}) Status(format string, args ...interface{}) DBStatus(format string, args ...interface{}) Request(format string, args ...interface{}) Debug(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.