Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(ocp)!: Drop \OCP\Util::writeLog
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Sep 18, 2023
commit 76f017a13f82bd0709778742e914b570c4bd4ab3
13 changes: 0 additions & 13 deletions lib/public/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,6 @@ public static function getChannel() {
return \OC_Util::getChannel();
}

/**
* write a message in the log
* @param string $app
* @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];
\OC::$server->getLogger()->log($level, $message, $context);
}

/**
* check if sharing is disabled for the current user
*
Expand Down