logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Error

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

func Info

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

func SetLogger

func SetLogger(lg Logger)

this method is goroutine unsafe

Types

type Logger

type Logger = log.Logger

func GetDefaultLogger

func GetDefaultLogger(lv string) Logger

func GetLogger

func GetLogger() Logger

func With

func With(keyvals ...interface{}) Logger

Jump to

Keyboard shortcuts

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