https://issues.dlang.org/show_bug.cgi?id=24468

--- Comment #2 from Tomoya Tanjo <[email protected]> ---
Thank you for the information.
It works when I set `Loglevel.all` to both logger before calling logging
methods  as follows.

```dlang
    ...
    (cast()sharedLog).logLevel = LogLevel.all;
    stdThreadLocalLog.logLevel = LogLevel.all;

    writeln("==== stdThreadLocalLog ====");
    stdThreadLocalLog.log("log");
    ...
```

> Perhaps this should be duplicated in the documentation for the 
> `stdThreadLocalLog` property.

I guess the information of default logLevel in each logger should be in the
`Thread Local Redirection` section in std.logger because most users read the
documents in std.logger first.

Can I close this issue or leave it opened until the document is improved?
If the case of latter, I will send a pull request for it.

--

Reply via email to