aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/App/CodeChecker/DeprecationCheck.php1
-rw-r--r--lib/public/Util.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php
index a700345238b..e19e06dd8f2 100644
--- a/lib/private/App/CodeChecker/DeprecationCheck.php
+++ b/lib/private/App/CodeChecker/DeprecationCheck.php
@@ -157,6 +157,7 @@ class DeprecationCheck extends AbstractCheck implements ICheck {
'OCP\Util::mb_str_replace' => '8.2.0',
'OCP\Util::mb_substr_replace' => '8.2.0',
'OCP\Util::sendMail' => '8.1.0',
+ 'OCP\Util::writeLog' => '13.0.0',
];
}
}
diff --git a/lib/public/Util.php b/lib/public/Util.php
index c2324e59bd4..02b59c370a0 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -150,6 +150,7 @@ class Util {
* @param string $message
* @param int $level
* @since 4.0.0
+ * @deprecated 13.0.0 use log of \OCP\ILogger
*/
public static function writeLog( $app, $message, $level ) {
$context = ['app' => $app];