debug

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

debug provides a light weight debug facility. Usage is via the DEBUG environment variable. Any non empty value will enable debug logging. For example

DEBUG=. gb

The period is a hint that the value passed to DEBUG is a regex, which matches files, or packages present in the file part of the file/line pair logged as a prefix of the log line. (not implemented yet)

Debug output is send to os.Stderr, there is no facility to change this.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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