added IS_(MAX_LOG,MORE_DEBUG,DEBUG,INFO,WARN,ERROR) defines to be used in if-clauses