aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Log
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Log')
-rw-r--r--lib/public/Log/ILogFactory.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Log/ILogFactory.php b/lib/public/Log/ILogFactory.php
index a2cb02e8759..54aa6456156 100644
--- a/lib/public/Log/ILogFactory.php
+++ b/lib/public/Log/ILogFactory.php
@@ -25,6 +25,7 @@
namespace OCP\Log;
use OCP\ILogger;
+use Psr\Log\LoggerInterface;
/**
* Interface ILogFactory
@@ -43,6 +44,15 @@ interface ILogFactory {
* @param string $path
* @return ILogger
* @since 14.0.0
+ * @deprecated use \OCP\Log\ILogFactory::getCustomPsrLogger
+ * @see \OCP\Log\ILogFactory::getCustomPsrLogger
*/
public function getCustomLogger(string $path): ILogger;
+
+ /**
+ * @param string $path
+ * @return LoggerInterface
+ * @since 22.0.0
+ */
+ public function getCustomPsrLogger(string $path): LoggerInterface;
}