From 4edf4e5335766abb443f10b526bbac23c71529a6 Mon Sep 17 00:00:00 2001 From: MAZUR Piotr Date: Wed, 25 Oct 2023 11:26:11 +0200 Subject: [PATCH] Deleted unused comments --- src/Handlers/TeamsLoggingHandler.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Handlers/TeamsLoggingHandler.php b/src/Handlers/TeamsLoggingHandler.php index c559e79..b10aeae 100644 --- a/src/Handlers/TeamsLoggingHandler.php +++ b/src/Handlers/TeamsLoggingHandler.php @@ -2,11 +2,8 @@ namespace Peroxovy\LaravelTeamsLogging\Handlers; -use Illuminate\Support\Facades\Auth; -use Peroxovy\LaravelTeamsLogging\Facades\TeamsLogging; use Peroxovy\LaravelTeamsLogging\Helpers\LevelPriorityHelper; use Peroxovy\LaravelTeamsLogging\Helpers\MessageFormatHelper; -use Peroxovy\LaravelTeamsLogging\MessageInterface; use Peroxovy\LaravelTeamsLogging\TeamsLoggingSender; class TeamsLoggingHandler extends \Monolog\Handler\AbstractProcessingHandler @@ -70,9 +67,7 @@ protected function write(array $record): void if($webhookUrl !== null && LevelPriorityHelper::shouldSendMessage($this->lvl, strtolower($record['level_name']))) { - $message = MessageFormatHelper::getMessage($this->format, $record); - // dd($message); $logging = new TeamsLoggingSender($webhookUrl); $logging->send($message); }