logger

package
v0.0.0-...-a98a27f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Color
	WHITE            = "\033[37m"
	GREEN            = "\033[92m"
	RED              = "\033[91m"
	YELLOW           = "\033[33m"
	HIGHLIGHT_YELLOW = "\033[93m"
	BLUE             = "\033[94m"
	HIGHLIGHT_WHITE  = "\033[97m"
	ENDC             = "\033[0m"
	// Type
	STATUS = WHITE + "[STATUS]"
	INFO   = GREEN + "[INFO]"
	WARN   = HIGHLIGHT_YELLOW + "[WARN]"
	ERROR  = RED + "[ERROR]"
	DEBUG  = YELLOW + "[DEBUG]"
	API    = HIGHLIGHT_WHITE + "[API]"
	NORMAL = WHITE + "[+]"
	RESULT = HIGHLIGHT_WHITE + "=============== RESULT ===============" + "\n"
)

Variables

This section is empty.

Functions

func ConsoleLog

func ConsoleLog(prefix string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL