clog

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 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 InitDebug

func InitDebug()

InitDebug initialize the logger in debug mode.

func InitVerbose

func InitVerbose()

InitVerbose initialize the logger in verbose mode.

func Logger

func Logger() *zap.Logger

Logger returns current logger object

func Set

func Set(l *zap.Logger)

Set sets the logger used in application globa.

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