From 18f0e43dc76d9dc6e9777952cab66abd6e89a8cf Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 13 Aug 2015 13:32:07 -0400 Subject: [PATCH] Fixed deprecation warning. --- module/VuFind/src/VuFind/Log/Logger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/VuFind/src/VuFind/Log/Logger.php b/module/VuFind/src/VuFind/Log/Logger.php index 7ae2ea04c31..e4fad47c0b8 100644 --- a/module/VuFind/src/VuFind/Log/Logger.php +++ b/module/VuFind/src/VuFind/Log/Logger.php @@ -128,9 +128,9 @@ class Logger extends BaseLogger implements ServiceLocatorAwareInterface $this->addWriters($writer, $filters); } - // Null writer to avoid errors + // Null (no-op) writer to avoid errors if (count($this->writers) == 0) { - $nullWriter = 'Zend\Log\Writer\Null'; + $nullWriter = 'Zend\Log\Writer\Noop'; $this->addWriter(new $nullWriter()); } } -- GitLab