logging

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: GPL-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("logging", fx.Provide(NewZapLogger))

Functions

func FXLogger added in v0.1.1

func FXLogger() fx.Option

func NewZapLogger

func NewZapLogger(config Configuration) (*zap.Logger, error)

Types

type Configuration

type Configuration struct {
	Development bool `hcl:"development"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳