mylog

package
v0.0.0-...-29c100b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LOG_DEBUG = 3
	LOG_INFO  = 2
	LOG_WARN  = 1
	LOG_ERROR = 0
)

Variables

View Source
var LogLevel int = 100
View Source
var PRINT = true

Functions

func Debug

func Debug(v ...interface{})

func Error

func Error(v ...interface{})

func Info

func Info(v ...interface{})

func MyLogger

func MyLogger() *log.Logger

func PrintPanicStack

func PrintPanicStack()

func PrintStack

func PrintStack() (ret string)

func Println

func Println(v interface{})

func Warn

func Warn(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