logger

package
v0.0.0-...-a03c5e1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provide

func Provide(lc fx.Lifecycle, cfg Config) *zap.Logger

New creates a zap logger for console and also setup an output for syslog.

Types

type Config

type Config struct {
	Level string `json:"level" koanf:"level"`
}

Jump to

Keyboard shortcuts

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