Sentry logging for Airtime Pro

This commit is contained in:
Albert Santoni 2015-01-27 19:54:42 -05:00
parent 3324961e19
commit c9231e9136
4 changed files with 115 additions and 387 deletions

View file

@ -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)