On Thursday, 26 January 2023 at 20:08:51 UTC, Krzysztof Jajeśnica
wrote:
On Thursday, 26 January 2023 at 17:17:28 UTC, o3o wrote:
how can I enable `trace` level?
Set `sharedLog.logLevel` instead of `globalLogLevel`.
```d
// Note: the cast is needed because sharedLog is shared
(cast()sharedLog
On 1/26/23 12:08, Krzysztof Jajeśnica wrote:
> On Thursday, 26 January 2023 at 17:17:28 UTC, o3o wrote:
>> how can I enable `trace` level?
>
> Set `sharedLog.logLevel` instead of `globalLogLevel`.
Good catch. I had tried the following without success:
stdThreadLocalLog.logLevel = LogLevel.all
On Thursday, 26 January 2023 at 17:17:28 UTC, o3o wrote:
how can I enable `trace` level?
Set `sharedLog.logLevel` instead of `globalLogLevel`.
```d
// Note: the cast is needed because sharedLog is shared
(cast()sharedLog).logLevel = LogLevel.all;
```
Explanation: logging functions (`trace`, `