diff options
Diffstat (limited to 'lib/Debug.php')
-rw-r--r-- | lib/Debug.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Debug.php b/lib/Debug.php index ba9e787e..630fd8ec 100644 --- a/lib/Debug.php +++ b/lib/Debug.php @@ -15,20 +15,4 @@ class Debug } return false; } - - /** - * @deprecated Use $this->logger->debug() - */ - public static function log($message) - { - $e = new \Exception(); - $trace = trace_from_exception($e); - // Drop the current frame - array_pop($trace); - $lastFrame = $trace[array_key_last($trace)]; - $text = sprintf('%s(%s): %s', $lastFrame['file'], $lastFrame['line'], $message); - - $logger = RssBridge::getLogger(); - $logger->debug($text); - } } |