Voting: std.logger

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 8 08:01:13 PDT 2014


On Monday, 8 September 2014 at 14:49:06 UTC, Marco Leise wrote:
>
> Ok, no matter what the outcome is, I'll see if I can write a
> simple file logger that I can use in RAII struct dtors (where
> neither allocations nor throwing seem to be an issue) and that
> has a fallback to writing to stderr. I wrote earlier that I
> would want a fallback logger if writing via the network fails
> or the disk is full, but maybe this logic can be implemented
> inside a logger implementation. I haven't actually tried your
> API yet!

That should be a no-brainer just have a look at FileLogger and 
start from there


More information about the Digitalmars-d mailing list