Logging best practices

Bastiaan Veelo Bastiaan at Veelo.net
Fri Apr 26 08:21:04 UTC 2019


On Thursday, 25 April 2019 at 10:33:00 UTC, Vladimirs Nordholm 
wrote:
> Hello.
>
> Is there a current "Best Practices" for logging in D?
>
> For the actual logging, I know of `std.experimental.logger`. 
> However, the `experimental` has kept me away from it.
>
> Is it good, or are there any better alternatives?

Apart from an open issue I have, 
https://issues.dlang.org/show_bug.cgi?id=15536, I have used 
std.experimental.logger successfully here: 
https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Debugging

Bastiaan.


More information about the Digitalmars-d-learn mailing list