logging

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(ConfigureLogging),
	fx.Provide(func() zerolog.Logger { return log.Logger }),
)

nolint

Functions

func ConfigureLogging

func ConfigureLogging(conf config.LoggingConfig)

ConfigureLogging uses the given conf to configure the global log.Logger variable.

Types

type SyslogLevel

type SyslogLevel int8

SyslogLevel defines syslog log levels.

const (
	Emergency SyslogLevel = iota
	Alert
	Critical
	Error
	Warning
	Notice
	Informational
	Debugging
)

Jump to

Keyboard shortcuts

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