Sentry logging for Airtime Pro
This commit is contained in:
parent
3324961e19
commit
c9231e9136
4 changed files with 115 additions and 387 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
require_once('SentryLogging.php');
|
||||
|
||||
class Logging {
|
||||
|
||||
|
@ -82,6 +83,7 @@ class Logging {
|
|||
{
|
||||
$logger = self::getLogger();
|
||||
$logger->err(self::getLinePrefix(true) . self::toString($p_msg));
|
||||
SentryLogger::getInstance()->captureError(self::toString($p_msg));
|
||||
}
|
||||
|
||||
public static function debug($p_msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue