
John Torjo wrote:
totally understandable. But why the try/catch inside the macros, instead of inside the ::Base::Log::log function?
No particular reason. It just worked, so I guess no one here ever saw any reason to do change it. Maybe the original design was influenced by the existing interface of log() which accepted only one log-level, not two. Anyway, that's easy to change and now that I think about it, it seems to be a good idea to move the try/catch away from the macro to prevent code bloat. Thanks for the idea :) Regards, Daniel -- Daniel Frey aixigo AG - financial solutions & technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: daniel.frey@aixigo.de, web: http://www.aixigo.de