log

package
v0.0.0-...-abdd10e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// package-level logger
	Log = log15.New()

	// expose these for ease of use
	Error = Log.Error
	Warn  = Log.Warn
	Info  = Log.Info
	Debug = Log.Debug

	// track the log level as set by Setup
	CurrentLevel = log15.LvlInfo
)

Functions

func Fatal

func Fatal(v interface{})

Like log.Fatal but uses log15 instead.

func Setup

func Setup(n string)

Set or reset the package logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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