log

package
v0.0.0-...-f810e02 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close closes the logger

func Debug

func Debug(msg string, args ...interface{})

Debug logs message and key-values pairs as DEBUG

func Error

func Error(msg string, args ...interface{})

Error logs message and key-values pairs in as ERROR

func Info

func Info(msg string, args ...interface{})

Info logs message and key-values pairs as INFO

func Logger

func Logger() *zap.Logger

Logger returns current logger object

func SetLogger

func SetLogger(l *zap.Logger)

SetLogger sets logger implementation

func Warn

func Warn(msg string, args ...interface{})

Warn logs message and key-values pairs in as WARN

Types

This section is empty.

Jump to

Keyboard shortcuts

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