log

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Debug

func Debug(format string, v ...interface{})

func Error

func Error(format string, v ...interface{})

wrap log

func Info

func Info(format string, v ...interface{})

func InitLog

func InitLog(logWay string, logFile string, logLevel string)

func SetLogFile

func SetLogFile(logWay string, logFile string)

logWay: such as file or console

func SetLogLevel

func SetLogLevel(logLevel string)

value: error, warning, info, debug

func Warn

func Warn(format string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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