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

Reply via email to