Magento extension LoggingHelper by Aggy

MageCloud partnered with Aggy to offer LoggingHelper in your MageCloud panel for our simple 1-click installation option. To install this extension - create your account with MageCloud and launch a new Magento store. It takes only 3 minutes.

Aggy always provides support for customers who have installed LoggingHelper Magento module. Feel free to leave a review for the company and the extension so we can offer you better products and services in the future.

You may want to check other Aggy Magento extensions available at MageCloud and even get extensions from hundreds of other Magento developers using our marketplace.

Adds an helper to your magento instance to programmatically log data to view it in the backend.

Compatible with Magento 1.x

LoggingHelper

MageDeveloper LoggingHelper

  • Log events in your extension
  • Centralize log information in the Magento Backend
  • Send E-Mails on specific events (e.g. on errors)
  • Compare log data
  • Trace events and data

Usage:

Usage is easy, just use the helper:


// Log data
Mage::helper('logging')
->setData($data)
->log();


// Log a message
Mage::helper('logging')
->setMessage('My message')
->log();


// Log Type
$type = Mage::helper('logging')->getTypeOk();
// Or
$type = MageDeveloper_Logging_Model_Log::LOG_TYPE_OK


Mage::helper('logging')
->setTypeOk()
->setData($customer)
->log();

Full example:

$helper = Mage::helper('logging');
$helper->setType( $helper->getTypeInfo() )
->setVardump() // or setPrintr
->setData($data)
->log();