On 10/26/2014 11:29 PM, Robert burner Schadek wrote:
And I forgot to add, no better solution presented itself in one year.
Well I showed one solution, but reduce it to its essence.If you allow to define a Logger with a LogLevel know at compile time and you statically pass the LogLevel of your message to the logging function you can elide that call. For anything else you need a runtime check.
http://dpaste.dzfl.pl/2538c3b5d287
