Upgrade framework

This commit is contained in:
2023-11-14 16:54:35 +01:00
parent 1648a5cd42
commit 4fcf6fffcc
10548 changed files with 693138 additions and 466698 deletions

View File

@@ -11,6 +11,8 @@
namespace Symfony\Component\HttpKernel\Log;
use Symfony\Component\HttpFoundation\Request;
/**
* DebugLoggerInterface.
*
@@ -25,14 +27,19 @@ interface DebugLoggerInterface
* timestamp, message, priority, and priorityName.
* It can also have an optional context key containing an array.
*
* @return array An array of logs
* @return array
*/
public function getLogs();
public function getLogs(Request $request = null);
/**
* Returns the number of errors.
*
* @return int The number of errors
* @return int
*/
public function countErrors();
public function countErrors(Request $request = null);
/**
* Removes all log records.
*/
public function clear();
}