logger

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 4

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