Fix inline bug.
Disable logging for now completely. But the NDEBUG switch should be placed into the cmake build files when compiling in Release mode.