debugger blues

cy via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 29 14:13:15 PDT 2016


On Saturday, 2 April 2016 at 01:13:54 UTC, Alex Parrill wrote:

> But it's not overly hard to implement your own print function:

The biggest problem is that I wanted the file and line 
information in my print function, which just added a lot of 
boilerplate that the logger already did.
         prefix.put(moduleName);
         prefix.put(':');
         prefix.put(to!string(line));
         prefix.put(' ');
...and such.

But yeah it's not too hard to implement.
https://github.com/cyisfor/story-generator/blob/master/source/print.d


More information about the Digitalmars-d mailing list