Moved scoped log levels into the base class
Added some protective #ifdefs in the base log class