summaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-05-02 14:04:58 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-03 08:57:26 +0200
commitfc82047e26274463ec8bd7fdfac15d889292e00a (patch)
tree56dd58beed2dbe71464aa8b830c091fad2fca647 /lib/private/Log.php
parentadf7e7295ed94a04bd9fcb056b81e664b45b4f07 (diff)
downloadnextcloud-server-fc82047e26274463ec8bd7fdfac15d889292e00a.tar.gz
nextcloud-server-fc82047e26274463ec8bd7fdfac15d889292e00a.zip
Move OC_Log_xx to \OC\Log namespace
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r--lib/private/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index d82346bbcf0..9248070c067 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -73,7 +73,7 @@ class Log implements ILogger {
// FIXME: Add this for backwards compatibility, should be fixed at some point probably
if($logger === null) {
- $this->logger = 'OC_Log_'.ucfirst($this->config->getValue('log_type', 'owncloud'));
+ $this->logger = 'OC\\Log\\'.ucfirst($this->config->getValue('log_type', 'owncloud'));
call_user_func(array($this->logger, 'init'));
} else {
$this->logger = $logger;