aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log/LogFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log/LogFactory.php')
-rw-r--r--lib/private/Log/LogFactory.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/Log/LogFactory.php b/lib/private/Log/LogFactory.php
index a5a7290bd9c..612d98c9746 100644
--- a/lib/private/Log/LogFactory.php
+++ b/lib/private/Log/LogFactory.php
@@ -7,7 +7,6 @@ namespace OC\Log;
use OC\Log;
use OC\SystemConfig;
-use OCP\ILogger;
use OCP\IServerContainer;
use OCP\Log\ILogFactory;
use OCP\Log\IWriter;
@@ -33,11 +32,6 @@ class LogFactory implements ILogFactory {
};
}
- public function getCustomLogger(string $path): ILogger {
- $log = $this->buildLogFile($path);
- return new Log($log, $this->systemConfig);
- }
-
protected function createNewLogger(string $type, string $tag, string $path): IWriter {
return match (strtolower($type)) {
'errorlog' => new Errorlog($this->systemConfig, $tag),