Skip to content

Commit

Permalink
Fixed issue - Monolog error on Magento 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-commerce authored Jul 2, 2018
1 parent 915d461 commit 561e97e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Logger/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*/
namespace KiwiCommerce\EnhancedSMTP\Logger;

use Monolog\Logger;

/**
* Class Handler
* @package KiwiCommerce\EnhancedSMTP\Logger
Expand All @@ -25,11 +23,11 @@ class Handler extends \Magento\Framework\Logger\Handler\Base
* Logging level
* @var int
*/
protected $loggerType = Logger::INFO;
protected $loggerType = \KiwiCommerce\EnhancedSMTP\Logger\Logger::INFO;

/**
* File name
* @var string
*/
protected $fileName = '/var/log/enhanced_smtp.log';
}
}

0 comments on commit 561e97e

Please sign in to comment.