log

package
Version: v0.0.0-...-7cd2a6a Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLoggingEnable

func IsLoggingEnable() bool

func L

func L(msg string)

func SetLogger

func SetLogger(impl Logger)

SetLogger set logger instance, if pass in `nil`, a default logger will be use

func SetLoggingEnable

func SetLoggingEnable(enable bool)

SetLoggingEnable sets log flag

Types

type Logger

type Logger interface {
	Log(msg string)
}

Logger interface for logging in this module

Source Files

Jump to

Keyboard shortcuts

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