log

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// L is global logger
	L *zap.SugaredLogger
)

Functions

func Init

func Init(lvl int)

Init setus up the logger, takes one parameter - the log level above which it will redirect logs to stderr, below which it will redirect logs to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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