On Tuesday, 15 July 2014 at 03:22:46 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 14 July 2014 at 20:45:29 UTC, Jeremy Powers via
Digitalmars-d wrote:
The logging API in the standard library needs to be able to
support this
kind of thing. Doesn't mean it actually needs to be included
in the base
implementation.
Will you then be able to get fully inlined low overhead
ringbuffer logging throughout the application and used
frameworks? E.g. do low level logging to a ringbuffer that is
only saved/mailed upon fatal crashes. This is useful for online
services.
Yes, apart from the inlined part, I'm not sure what the compiler
does with virtual functions.
I would you can do that in <=15 lines of code