Remove the logging preprocessor commands from the code. Added the preprocessor checks within the logger itself.