On 2013-08-06 06:35, Andre Artus wrote:
What is the recommended approach for adding logging and tracing to D apps?
Is there a library for it?
Tango contains a package for logging:
Docs/tutorial: http://dsource.org/projects/tango/wiki/ChapterLogging
API reference: http://dsource.org/projects/ta
On Tuesday, 6 August 2013 at 18:54:50 UTC, Andre Artus wrote:
David wrote:
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.
http://wiki.dlang.org/Review_Queue
-- snip --
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.
Thanks, I'll check it out later.
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 m
On Tue, Aug 06, 2013 at 08:54:48PM +0200, Andre Artus wrote:
> >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 generat
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)
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).
>
On Tue, Aug 06, 2013 at 07:22:11PM +0200, Andre Artus wrote:
> -- 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 de
-- 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 libra
On Tuesday, 6 August 2013 at 04:35:39 UTC, Andre Artus wrote:
What is the recommended approach for adding logging and tracing
to D apps?
Is there a library for it?
custom very simple yet powerful logging can be achieved with
templates and debug specifier, something like this:
---
What is the recommended approach for adding logging and tracing
to D apps?
Is there a library for it?
11 matches
Mail list logo