Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-04 07:34:51 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-04 08:02:55 +0300
commit14cf2581242c75907fb554e08a30041ad107f558 (patch)
tree9ce5ab8e5547ef90fb238d8cc15250277fa410f5 /core/ExceptionHandler.php
parentee6554e1d64bf4a4ecf05bfa513a35de8df3ef9e (diff)
#6622 Logger refactoring: move to PSR-3 compatibility
- keep the log message as string - exceptions are logged in context under the "exception" key - Piwik\Error objects are replaced by \ErrorException (logged the PSR-3 way)
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r--core/ExceptionHandler.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/ExceptionHandler.php b/core/ExceptionHandler.php
index 9bbb5a23ac..8a10bc1e6b 100644
--- a/core/ExceptionHandler.php
+++ b/core/ExceptionHandler.php
@@ -9,18 +9,10 @@
namespace Piwik;
/**
- * Contains Piwik's uncaught exception handler and log file formatting for exception
- * instances.
+ * Contains Piwik's uncaught exception handler.
*/
class ExceptionHandler
{
- /**
- * The backtrace string to use when testing.
- *
- * @var string
- */
- public static $debugBacktraceForTests = null;
-
public static function setUp()
{
set_exception_handler(array('Piwik\ExceptionHandler', 'logException'));