logging

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLogger

func CreateLogger(rootLogger *zap.Logger, name []string) *zap.Logger

func CreateRootLogger

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

CreateRootLogger creates the root logger of the application.

func Logger

func Logger(name ...string) any

func LogrLogger

func LogrLogger(name ...string) any

func Module

func Module(logger *zap.Logger) fx.Option

Module provides logging bindings based on a zap.Logger root logger.

func SlogLogger

func SlogLogger(name ...string) any

func SugaredLogger

func SugaredLogger(name ...string) any

Types

This section is empty.

Jump to

Keyboard shortcuts

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