Help us shape the future of Go! Take the 2026 Go Developer Survey

logx

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelTrace = slog.Level(-8)
)

Variables

This section is empty.

Functions

func Err

func Err(err error) any

func Error

func Error(err error, msg string, args ...any)

func Format

func Format(k string, v any, format string) any

func JSON

func JSON(k string, v any) any

func OnTrace

func OnTrace(f func())

func Setup

func Setup(w io.Writer, debug, trace, quiet bool)

func String

func String(k string, v any) any

func Trace

func Trace(msg string, args ...any)

func TraceWith

func TraceWith(logger *slog.Logger, msg string, args ...any)

func Value

func Value(k string, v any) any

func Verbose

func Verbose(k string, v any) any

Types

This section is empty.

Jump to

Keyboard shortcuts

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