Logging best practices

mw mingwu at gmail.com
Sat May 30 18:17:21 UTC 2020


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?

A related question: how to log to multiple destinations? e.g. 
both console & log file? any examples?

Thanks.


More information about the Digitalmars-d-learn mailing list