debug

package
Version: v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 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.

Source Files

Jump to

Keyboard shortcuts

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