logging

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Logger is the global logging instance, this should be used by any location that needs control over a structured log.

Functions

func Error

func Error(err error)

Error provides a convenient way to log errors that will use reflection to log the most important details.

func Init

func Init()

Init sets up the global logger with the config data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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