Skip to content

Commit

Permalink
Deleted unused comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MAZUR Piotr committed Oct 25, 2023
1 parent 3233d09 commit 4edf4e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Handlers/TeamsLoggingHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 4edf4e5

Please sign in to comment.