log

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize() error

Initialize initializes the global Logrus logger, reading the desired log level from the viper store, or using a default if the level has not been set in viper.

It also sets the output to log.outputSplitter, so you get error logs on stderr and normal logs on stdout.

If syslog settings are also in viper, then Syslog will be initialized as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

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