Early review of std.logger

Dicebot public at dicebot.lv
Mon Oct 14 05:58:49 PDT 2013


On Monday, 14 October 2013 at 12:45:06 UTC, Dicebot wrote:
> === possible features? ===
>
> One interesting addition would be to embed module name into 
> logger call and provide facilities to filter output on 
> per-module basis (similar to log level). D introspection tools 
> should allow to do that with no observable API complication.

As a random idea this can be possibly done by providing default 
ModuleLogger in a similar way to default global logger, so that 
one can easily use both from the module context (i.e. logging 
most errors globally but making rest suppressible by 
module-specific settings)


More information about the Digitalmars-d mailing list