By Jochen Voss, on
I have just published a small package for the excellent Go programming language: The new package, trace, implements a simple tracing framework. Code using this framework can emit diagnostic messages using the trace.T() function. In normal operation, calls to trace.T() have no effect and are very fast. When tracing is enabled (in order to track down a problem or to explore the inner workings of a program), listeners can record/display the trace messages.
Details can be found on the tracke package home page. Comments are very welcome!
This is an excerpt from Jochen's blog.
Newer entry: The Fortuna Random Number Generator
Older entry: new paper
Copyright © 2013, Jochen Voss. All content on this website (including text, pictures, and any other original works), unless otherwise noted, is licensed under a Creative Commons Attribution-Share Alike 3.0 License.