logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoColor      = colorine.TextStyle{Foreground: colorine.None, Background: colorine.None}
	VerboseColor = colorine.Verbose // white
	InfoColor    = colorine.Info    // green
	NoticeColor  = colorine.Notice  // blue
	WarnColor    = colorine.Warn    // yellow
	ErrorColor   = colorine.Error   // red
)

Functions

func Log

func Log(prefix, message string)

Log outputs log

func Logf

func Logf(prefix, msg string, args ...any)

Logf outputs log with format

func SetOutput

func SetOutput(w io.Writer)

SetOutput sets log output writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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