Assertion macro now does nothing when the NDEBUG macro is defined.
Program is now aborted when a log message of high enough severity is logged.