looking for recommendation: which thread safe logger library?

mw m at g.c
Wed Jul 12 05:27:27 UTC 2023


On Wednesday, 12 July 2023 at 04:48:23 UTC, Danilo wrote:
> On Wednesday, 12 July 2023 at 01:55:00 UTC, mw wrote:
>> ```
>> import std.experimental.logger;
>>
>> void main() {
>>     std.experimental.logger.sharedLog.trace("msg");
>> }
>> ```
>
> See examples at https://dlang.org/phobos/std_logger.html
> and https://dlang.org/phobos/std_logger_filelogger.html
>

But what's wrong with my code? the strange compiler error?


More information about the Digitalmars-d-learn mailing list