log

package
v0.0.0-...-3a8eb6e Latest Latest
Warning

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

Go to latest
Published: May 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorRed   = ansiWrapper(textRed)
	ColorGreen = ansiWrapper(textGreen)
	ColorWhite = ansiWrapper(textWhite)
	ColorGray  = ansiWrapper(textGray)

	BgBlack = ansiWrapper(bgBlack)
	BgRed   = ansiWrapper(bgRed)
	BgGreen = ansiWrapper(bgGreen)

	Reset     = ansiWrapper(styleReset)
	Bold      = ansiWrapper(styleBold)
	Dim       = ansiWrapper(styleDim)
	Italic    = ansiWrapper(styleItalic)
	Strikeout = ansiWrapper(styleStrikeout)
)

Public style helpers

Functions

func BuildLogger

func BuildLogger(isDev bool) *zap.Logger

func ErrorColor

func ErrorColor(v any) string

func SuccessColor

func SuccessColor(v any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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