On Monday, 22 February 2016 at 23:03:38 UTC, Jonathan M Davis
wrote:
On Monday, February 22, 2016 22:22:01 Minas Mina via
Digitalmars-d-learn wrote:
[...]
Short answer:
[...]
Great, thanks.
On Monday, February 22, 2016 22:22:01 Minas Mina via Digitalmars-d-learn wrote:
> I'm trying to inherit from Logger, and I my custom logger to
> print to stdout using writeln(). But I can't because writeLogMsg
> is @safe, whereas writeln() is @system.
>
> Why is writeLogMsg @safe? This is too
I'm trying to inherit from Logger, and I my custom logger to
print to stdout using writeln(). But I can't because writeLogMsg
is @safe, whereas writeln() is @system.
Why is writeLogMsg @safe? This is too restrictive.