Suggestion/proposal regarding std.logger candidate

Jeremy Powers via Digitalmars-d digitalmars-d at puremagic.com
Sat May 24 12:52:33 PDT 2014


On Sat, May 24, 2014 at 2:57 AM, David Osborne via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> Destroy :)
>

Overall, this approach seems good.

Not sure I like forcing one format for all sinks though - it is often
desired/necessary to have different sinks (aka appenders) format the log
messages differently.

Aside: I'd recommend anyone looking at logging examine the logback
architecture, if they haven't already:
http://logback.qos.ch/manual/architecture.html
Not saying std.logger should look like this, but shows one fairly well
thought out solution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140524/9874b901/attachment.html>


More information about the Digitalmars-d mailing list