On Monday, 13 March 2023 at 10:03:59 UTC, Johann Lermer wrote: > Try this: > > auto sharedLog = new FileLogger("/dev/null"); This also works, but is likely thread unsafe: ```d sharedLog = cast(shared)new FileLogger("/dev/null"); ```