Enhanced logging. Deleted private method for logging (one call only). Added private methods for getting configuration options and filtering logging levels