mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Add LogRecord class, drop PHP <8.1
This commit is contained in:
@@ -12,13 +12,14 @@
|
||||
namespace Monolog\Handler;
|
||||
|
||||
use Exception;
|
||||
use Monolog\LogRecord;
|
||||
|
||||
class ExceptionTestHandler extends TestHandler
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function handle(array $record): bool
|
||||
public function handle(LogRecord $record): bool
|
||||
{
|
||||
throw new Exception("ExceptionTestHandler::handle");
|
||||
|
||||
|
Reference in New Issue
Block a user