std.experimental.logger + threadIds

Christian Köstlin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 19 10:43:27 PST 2016


I am experimenting with the logger interface and want to write a custom
logger, that also outputs the threadID or Tid of the LogEntries.
The documentation shows how to do a custom logger, but I am unable to
convert the threadId to a string, because all conversion functions are
not @safe.

Is there a way around this?

Thanks in advance,
Christian


More information about the Digitalmars-d-learn mailing list