logger

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func New

func New() (*zap.Logger, error)

func WithFxDefaultLogger

func WithFxDefaultLogger() fx.Option

WithFxDefaultLogger returns an fx.Option that configures Fx to use zap-based logging for framework events. The logger is set to DebugLevel to capture detailed Fx lifecycle and dependency injection events.

func WithNamedLogger

func WithNamedLogger(name string) fx.Option

WithNamedLogger returns an fx.Option that decorates the provided logger with the specified name, creating a named logger context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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