logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogContext = logx.NewLogContext().
	WithColor(true).
	WithTime(true, func(t time.Time) any { return t.Format(time.DateTime) }).
	WithCaller(true, true, true, true).
	WithLevel(true, true).
	WithEncoder(logx.Json).
	WithEscapeQuote(true).
	WithWriter(color.Output)

default global LogContext

View Source
var Logger = LogContext.BuildConsoleLogger(logx.LevelTrace)

default global Logger

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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