Enhancements for Magento logging including log levels and mockable logging