Merge pull request #5518 from nextcloud/deprecate-old-log
Deprecate static writeLog() method
This commit is contained in:
commit
86efe9569a
2 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue