diff options
-rw-r--r-- | core/Log.php | 2 | ||||
-rw-r--r-- | core/Log/Backend/Backend.php (renamed from core/Log/Backend.php) | 2 | ||||
-rw-r--r-- | core/Log/Backend/DatabaseBackend.php (renamed from core/Log/DatabaseBackend.php) | 2 | ||||
-rw-r--r-- | core/Log/Backend/FileBackend.php (renamed from core/Log/FileBackend.php) | 2 | ||||
-rw-r--r-- | core/Log/Backend/ScreenBackend.php (renamed from core/Log/ScreenBackend.php) | 2 | ||||
-rw-r--r-- | core/Log/LoggerFactory.php | 3 |
6 files changed, 8 insertions, 5 deletions
diff --git a/core/Log.php b/core/Log.php index 9ecbe0741e..a59d6857f6 100644 --- a/core/Log.php +++ b/core/Log.php @@ -10,7 +10,7 @@ namespace Piwik; use Piwik\Container\StaticContainer; use Piwik\Db; -use Piwik\Log\ScreenBackend; +use Piwik\Log\Backend\ScreenBackend; /** * Logging utility class. diff --git a/core/Log/Backend.php b/core/Log/Backend/Backend.php index 67841ff563..6c3e64545c 100644 --- a/core/Log/Backend.php +++ b/core/Log/Backend/Backend.php @@ -6,7 +6,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ -namespace Piwik\Log; +namespace Piwik\Log\Backend; use Piwik\Log; diff --git a/core/Log/DatabaseBackend.php b/core/Log/Backend/DatabaseBackend.php index 34aa704618..2ffb7386d3 100644 --- a/core/Log/DatabaseBackend.php +++ b/core/Log/Backend/DatabaseBackend.php @@ -6,7 +6,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ -namespace Piwik\Log; +namespace Piwik\Log\Backend; use Piwik\Common; use Piwik\Db; diff --git a/core/Log/FileBackend.php b/core/Log/Backend/FileBackend.php index 21c80fca41..4df90b91f2 100644 --- a/core/Log/FileBackend.php +++ b/core/Log/Backend/FileBackend.php @@ -6,7 +6,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ -namespace Piwik\Log; +namespace Piwik\Log\Backend; use Piwik\Filechecks; use Piwik\Log; diff --git a/core/Log/ScreenBackend.php b/core/Log/Backend/ScreenBackend.php index 3aa4659d55..01e8a38fb7 100644 --- a/core/Log/ScreenBackend.php +++ b/core/Log/Backend/ScreenBackend.php @@ -6,7 +6,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ -namespace Piwik\Log; +namespace Piwik\Log\Backend; use Piwik\Common; use Piwik\Log; diff --git a/core/Log/LoggerFactory.php b/core/Log/LoggerFactory.php index 8a00ef7eb3..c66e1bac81 100644 --- a/core/Log/LoggerFactory.php +++ b/core/Log/LoggerFactory.php @@ -12,6 +12,9 @@ use Interop\Container\ContainerInterface; use Piwik\Common; use Piwik\Config; use Piwik\Log; +use Piwik\Log\Backend\DatabaseBackend; +use Piwik\Log\Backend\FileBackend; +use Piwik\Log\Backend\ScreenBackend; use Piwik\Piwik; class LoggerFactory |