On 08/23/2013 06:28 PM, Gary Willoughby wrote:
> On Thursday, 22 August 2013 at 14:13:29 UTC, Robert Schadek wrote:
>> lots..
>
> Just to weight in and give my four penneth. It needs to be made a
> little more flexible in the formats it produces (syslog?) and the
> input it takes. e.g. i've just finished a nice logger for work and
> it's main usage is like this:
Ask if you are allowed to put it into phobos.
>
> auto logger = new Logger("file");
> logger.info("device id: %s", device.id);
>
> I like the formatting that sprintf gives.
I do as well, but this will lead to template bloat, as many people will
tell you, and log("device id: %s".format(device.id)); is
not so bad.