Skip to content

Commit

Permalink
Dependência atualizada: Laminas log
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoliveiraGN authored Oct 26, 2021
1 parent 055a51d commit 5951827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public function isPixActive()
/** Escreve um log na pasta var */
public function logger($string)
{
$writer = new \Zend\Log\Writer\Stream(BP . '/var/log/gerencianet_magento2.log');
$logger = new \Zend\Log\Logger();
$writer = new \Laminas\Log\Writer\Stream(BP . '/var/log/gerencianet_magento2.log');
$logger = new \Laminas\Log\Logger();
$logger->addWriter($writer);
$logger->info(json_encode($string));
}
Expand Down

0 comments on commit 5951827

Please sign in to comment.