log

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(level, format string)

Configure sets up the logger

func Debug

func Debug(msg string, keysAndValues ...any)

func Error

func Error(msg string, keysAndValues ...any)

func GetLogger

func GetLogger() logger.Logger

func Info

func Info(msg string, keysAndValues ...any)

Package-level functions for convenience

func PrettyJSON

func PrettyJSON(v interface{}) error

func Trace

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

func Warn

func Warn(msg string, keysAndValues ...any)

func With

func With(key string, value any) logger.Logger

func WithError

func WithError(err error) logger.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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