trace

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 16 Imported by: 0

README

Trace

Documentation

Overview

Package q provides quick and dirty debugging output for tired programmers.

q.Q() is a fast way to pretty-print variables. It's easier than typing fmt.Printf("%#v", whatever). The output will be colorized and nicely formatted. The output goes to $TMPDIR/q, away from the noise of stdout.

q exports a single Q() function. This is how you use it:

import "github.com/beanjs/q"
...
q.Q(a, b, c)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutDir

func GetOutDir() string

func Log

func Log(v ...interface{})

Q pretty-prints the given arguments to the $TMPDIR/q log file.

func SetOutDir

func SetOutDir(dir string)

func ShowInTerminal

func ShowInTerminal(enable bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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