Christopher Smith wrote:

7) The code is specifically designed so an optimizer can produce code that only checks logging levels once per log event.

Ugh. I knew I'd make a mistake. ;-)

This is not quite true. The current code actually requires 2 checks per log event. This is because on the implementation of log4cxx I have, forcedLog is a protected method, and I didn't want to add LoggerStream as a friend. I think forcedLog has been made a public method now, so I should use that.

--Chris

Reply via email to