Example code in std.logger.core doesn't even work

o3o dlang at orfeo.fastmail.com
Thu Jul 20 12:42:02 UTC 2023


On Monday, 13 March 2023 at 02:53:00 UTC, Yuxuan Shui wrote:
> Example here:
>
> https://dlang.org/phobos/std_logger_core.html#.sharedLog
>
> Result:
>
> https://run.dlang.io/is/RMtF0I

Also this https://run.dlang.io/is/NpBbgB
```
import std.logger.core;
void main() {
     log("output: no"); // no output
     info("output: yes");
}
```
result:
```
2023-07-20T12:40:07.653 [info] onlineapp.d:7:main output: yes
```
doesn't work.


More information about the Digitalmars-d mailing list