forked from sveawebpay/nwt-magento2-checkout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in SC-175 (pull request sveawebpay#57)
[SC-175] Error log handler * [SC-175] Adds separate logging handler for error messages. Removes an irrelvant error log about missing push. Approved-by: Sergiu Moscalu
- Loading branch information
1 parent
909e958
commit e9c3f6c
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
namespace Svea\Checkout\Logger\Handler; | ||
|
||
use Svea\Checkout\Logger\Logger; | ||
|
||
class Error extends \Magento\Framework\Logger\Handler\Base | ||
{ | ||
/** | ||
* Logging level | ||
* @var int | ||
*/ | ||
protected $loggerType = Logger::ERROR; | ||
|
||
/** | ||
* File name | ||
* @var string | ||
*/ | ||
protected $fileName = '/var/log/svea_checkout_error.log'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters