2017 © Pedro Peláez
 

magento2-module mglogger

Adds Custom Logger Functionality mageguide.log

image

mageguide/mglogger

Adds Custom Logger Functionality mageguide.log

  • Tuesday, December 5, 2017
  • by gnmageguide
  • Repository
  • 0 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

MageGuide_Mglogger_M2

Adds Custom Logger Functionality (mageguide.log), (*1)

Usage example:, (*2)

class mgLoggerExample
{
    /**
     * Logging instance
    */
    protected $_mglogger;

    /**
     * Constructor injection
     */
    public function __construct(
        \MageGuide\Mglogger\Logger\Logger $mglogger
    ) {
        $this->_mglogger = $mglogger;
    }

    /* Some function to call logger */
    public function doSomething()
    {
        $this->_mglogger->info('Info Test');
        $this->_mglogger->alert('Alert Test');
        $this->_mglogger->critical('Critical Test');
        $this->_mglogger->emergency('Emergency Test');
        $this->_mglogger->error('Error Test');
        $this->_mglogger->notice('Notice Test');
        $this->_mglogger->warning('Warning Test');
    }
}

The Versions

05/12 2017

dev-master

9999999-dev

Adds Custom Logger Functionality mageguide.log

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • magento/framework 100.*|101.*
  • magento/module-ui 100.*|101.*
  • magento/module-config 100.*|101.*
  • magento/module-directory 100.*|101.*
  • mageguide/mgbase 1.*

 

05/12 2017

1.0.3

1.0.3.0

Adds Custom Logger Functionality mageguide.log

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • magento/framework 100.*|101.*
  • magento/module-ui 100.*|101.*
  • magento/module-config 100.*|101.*
  • magento/module-directory 100.*|101.*
  • mageguide/mgbase 1.*

 

16/10 2017

1.0.2

1.0.2.0

Adds Custom Logger Functionality mageguide.log

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~7.0.0
  • magento/framework 100.*|101.*
  • magento/module-ui 100.*|101.*
  • magento/module-config 100.*|101.*
  • magento/module-directory 100.*|101.*
  • mageguide/mgbase 1.*

 

13/10 2017

1.0.0

1.0.0.0

Adds Custom Logger Functionality mageguide.log

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~7.0.0
  • magento/framework 100.*|101.*
  • magento/module-ui 100.*|101.*
  • magento/module-config 100.*|101.*
  • magento/module-directory 100.*|101.*
  • mageguide/mgbase 1.*