Early review of std.logger

Sönke Ludwig sludwig at outerproduct.org
Tue Oct 15 07:41:22 PDT 2013


Am 15.10.2013 16:33, schrieb Robert Schadek:
> On 10/15/2013 04:23 PM, ilya-stromberg wrote:
>> On Tuesday, 15 October 2013 at 14:20:15 UTC, Robert Schadek wrote:
>>> Logging is the most unpure functionality I can think of. It is side
>>> effect heaven.
>>
>> Yes, but we should minimise possible side effects.
> Of course, but having global state aka. a global default logger and no
> side effect are opposing design goals.
>

"minimise" != "eliminate"

The global default logger will usually be a set-once thing, so it's far 
less problematic.


More information about the Digitalmars-d mailing list