logging

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: PostgreSQL Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(err any, msg string)

Fatal calls Fatal on the default zerolog logger. It's intended to be used in panic recovery or other places where a logger instance isn't available.

func NewLogger

func NewLogger(cfg config.Config) (zerolog.Logger, error)

NewLogger initializes and configures a new zerolog.Logger.

func Provide

func Provide(i *do.Injector)

func Slog

func Slog(base zerolog.Logger, level zerolog.Level) *slog.Logger

func Zap

func Zap(base zerolog.Logger, level zerolog.Level) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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