Skip to content

Commit

Permalink
Merge pull request #7 from t3n/bugfix-json-console
Browse files Browse the repository at this point in the history
bugfix-json-console-logger: Fixed method signature
  • Loading branch information
w3z315 authored Jan 26, 2023
2 parents e4131a8 + 78db592 commit 65a569e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Backend/JSONConsoleLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function open(): void
/**
* @param mixed $additionalData A variable containing more information about the event to be logged
*/
public function append(string $message, string $packageKey, string $className, string $methodName, int $severity = LOG_INFO, $additionalData = null): void
public function append(string $message, int $severity = LOG_INFO, $additionalData = null, ?string $packageKey = null, ?string $className = null, ?string $methodName = null): void
{
if ($severity > $this->severityThreshold) {
return;
Expand Down

0 comments on commit 65a569e

Please sign in to comment.