log

package
v0.0.0-...-f7e20ac Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Log is the logger used
	Log *zap.Logger
)

Functions

func Debug

func Debug(msg string, tags ...zap.Field)

Debug logs a message at a debug level

func Error

func Error(msg string, err error, tags ...zap.Field)

Error logs an error message

func Field

func Field(key string, value interface{}) zap.Field

Field returns a zap.Field entity based on the values provided

func Info

func Info(msg string, tags ...zap.Field)

Info logs a message at an info level

Types

This section is empty.

Jump to

Keyboard shortcuts

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