Documentation
¶
Index ¶
Constants ¶
View Source
const ( COLOR_RED = "\033[31m" COLOR_GREEN = "\033[32m" COLOR_YELLOW = "\033[33m" COLOR_BLUE = "\033[34m" COLOR_CYAN = "\033[36m" COLOR_RESET = "\033[0m" )
View Source
const ENV_TAG = "AID_DEBUG_LOG"
Variables ¶
View Source
var Once once
Functions ¶
Types ¶
type DebugLogger ¶
type DebugLogger struct {
// contains filtered or unexported fields
}
func (*DebugLogger) Errorf ¶ added in v1.68.18
func (my *DebugLogger) Errorf(format string, v ...any)
func (*DebugLogger) Printf ¶ added in v1.68.18
func (my *DebugLogger) Printf(format string, v ...any)
type DebugLoggerAttr ¶ added in v1.68.15
type DebugLoggerAttr func()
func ColorBlue ¶ added in v1.68.15
func ColorBlue() DebugLoggerAttr
func ColorCyan ¶ added in v1.68.16
func ColorCyan() DebugLoggerAttr
func ColorDefault ¶ added in v1.68.17
func ColorDefault() DebugLoggerAttr
func ColorGreen ¶ added in v1.68.15
func ColorGreen() DebugLoggerAttr
func ColorRed ¶ added in v1.68.15
func ColorRed() DebugLoggerAttr
func ColorYellow ¶ added in v1.68.15
func ColorYellow() DebugLoggerAttr
Click to show internal directories.
Click to hide internal directories.