p2p_log

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(level LOG_LEVEL, format string, v ...interface{})

func SetMinLogLevel

func SetMinLogLevel(level LOG_LEVEL)

Types

type LOG_LEVEL

type LOG_LEVEL int32
const (
	TRACE LOG_LEVEL = iota
	DEBUG
	INFO
	WARNING
	ERROR
)

func MinLogLevel

func MinLogLevel() LOG_LEVEL

Jump to

Keyboard shortcuts

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