Merge pull request #5518 from nextcloud/deprecate-old-log

Deprecate static writeLog() method
This commit is contained in:
Morris Jobke 2017-06-23 16:03:13 -05:00 committed by GitHub
commit 86efe9569a
2 changed files with 2 additions and 0 deletions

View file

@ -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',
];
}
}

View file

@ -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];