Upgrade framework
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user