MattTuttle/HaxePunk — pull request #16 by mkosler (2012-05-05 17:58:33+00:00)
Title: Feature: Added terminal trace output when compiling to cpp or neko targets

While the virtual console on flash targets is fine for small stuff, things like outputting the current status of a 20 x 10 grid push it beyond its boundaries. I added a simple macro statement and a crossplatform `Sys.println(LOG[LOG.length - 1]);` in traceLog() in Console.hx, so that if you compile to cpp or neko targets, you will also have any trace calls output onto the stdout (most often a terminal).

I might be the only one who wants this feature, but I highly doubt its intrusive in any way, so I figured I might as well share it.