Logging and tracing in D

David d at dav1d.de
Tue Aug 6 14:30:14 PDT 2013


Am 06.08.2013 20:54, schrieb Andre Artus:
>> David wrote:
>> Am 06.08.2013 19:22, schrieb Andre Artus:
>>> -- snip--
>>>> and you get pretty formatted message in console(add log file writer if
>>>> needed), and you get "smart" logging for free, in that way it will be
>>>> generated only for debug mode(in release it will be skipped because of
>>>> debug specifier).
>>>
>>> Thanks, can I take it that there is no official library for this kind of
>>> thing then? I would think it generally useful. Perhaps it can be
>>> considered for inclusion into Phobos.
>>
>> There is std.log (proposed), it doesn't work, I don't like its API.
> 
> I take it that it hasn't been documented yet, at least I could not find
> it on dlang.org.

It's currently in the review queue: http://wiki.dlang.org/Review_Queue
but marked on hold/suspended.


More information about the Digitalmars-d-learn mailing list