logger

package
v1.0.1-0...-4c0226b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Trace logs trace messages
	Trace *log.Logger
	// Info logs info messages
	Info *log.Logger
	// Warning logs warning messages
	Warning *log.Logger
	// Error logs error messages
	Error *log.Logger
)

Functions

func Blue

func Blue(input string) string

Blue colorizes the input red

func Dim

func Dim(input string) string

Dim colorizes the input red

func Red

func Red(input string) string

Red colorizes the input red

func TrackTime

func TrackTime(start time.Time, funcname string)

TrackTime tracks the time a function takes till return and logs it to Trace

func Yellow

func Yellow(input string) string

Yellow colorizes the input red

Types

This section is empty.

Jump to

Keyboard shortcuts

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