log

package
v0.0.0-...-1927dbb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug logs debug level messages with default logger.

func Error

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

Error logs Error level messages with default logger in structured-style. Notice: additional stack will be added into messages.

func Fatal

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

Fatal logs Fatal level messages with default logger in structured-style. Notice: additional stack will be added into messages, then calls os.Exit(1).

func Info

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

Info logs Info level messages with default logger in structured-style.

func Init

func Init()

Init initializes log pkg.

func Panic

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

Panic logs Panic level messages with default logger in structured-style. Notice: additional stack will be added into messages, meanwhile logger will panic.

func Warn

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

Warn logs Warn level messages with default logger in structured-style.

Types

This section is empty.

Jump to

Keyboard shortcuts

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