Skip to content

Commit

Permalink
Add ProcessorInterface to package processors
Browse files Browse the repository at this point in the history
Close #47
  • Loading branch information
hedii committed Aug 14, 2023
1 parent c03f2b3 commit 90c80b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Processors/NullStringProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Hedii\LaravelGelfLogger\Processors;

use Monolog\LogRecord;
use Monolog\Processor\ProcessorInterface;

class NullStringProcessor
class NullStringProcessor implements ProcessorInterface
{
/**
* Transform a "NULL" string record into a null value.
Expand Down
3 changes: 2 additions & 1 deletion src/Processors/RenameIdFieldProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Hedii\LaravelGelfLogger\Processors;

use Monolog\LogRecord;
use Monolog\Processor\ProcessorInterface;

class RenameIdFieldProcessor
class RenameIdFieldProcessor implements ProcessorInterface
{
/**
* Rename "id" field to "_id" (additional field 'id' is not allowed).
Expand Down

0 comments on commit 90c80b7

Please sign in to comment.