Skip to content

Commit

Permalink
revert ErrorLogger changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Aug 3, 2024
1 parent fecccdc commit e1cf247
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Error/SentryErrorLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@
use Cake\Utility\Hash;
use CakeSentry\Http\SentryClient;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Log\LoggerTrait;
use Stringable;
use Throwable;

class SentryErrorLogger implements ErrorLoggerInterface
{
use LoggerTrait;

private ErrorLogger $logger;

protected SentryClient $client;
Expand Down Expand Up @@ -61,12 +57,4 @@ public function logError(
$this->client->captureError($error, $request);
}
}

/**
* @inheritDoc
*/
public function log($level, Stringable|string $message, array $context = []): void
{
$this->logger->log($level, $message, $context);
}
}

0 comments on commit e1cf247

Please sign in to comment.