mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Deprecate static writeLog() method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
65b4e2a1db
commit
d6adc0eba1
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