logs

package
v0.0.127 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RESET   = "\x1b[0m"
	RED     = "\x1b[31m"
	GREEN   = "\x1b[32m"
	YELLOW  = "\x1b[33m"
	BLUE    = "\x1b[34m"
	MAGENTA = "\x1b[35m" // 紫色
	CYAN    = "\x1b[36m" // 蓝绿
	WHITE   = "\x1b[37m"
)

see https://www.cnblogs.com/goloving/p/15015053.html

Variables

This section is empty.

Functions

func Debug

func Debug(format any, params ...any)

func Error

func Error(format any, params ...any)

func Info

func Info(format any, params ...any)

func Init added in v0.0.57

func Init(level int32, color bool)

func LogStack added in v0.0.57

func LogStack()

func Major added in v0.0.57

func Major(format any, params ...any)

func Warn

func Warn(format any, params ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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