logging

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: GPL-2.0 Imports: 3 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
}

Jump to

Keyboard shortcuts

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