Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 65a569e

Browse files
author
Alex
authored
Merge pull request #7 from t3n/bugfix-json-console
bugfix-json-console-logger: Fixed method signature
2 parents e4131a8 + 78db592 commit 65a569e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Classes/Backend/JSONConsoleLogger.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function open(): void
3535
/**
3636
* @param mixed $additionalData A variable containing more information about the event to be logged
3737
*/
38-
public function append(string $message, string $packageKey, string $className, string $methodName, int $severity = LOG_INFO, $additionalData = null): void
38+
public function append(string $message, int $severity = LOG_INFO, $additionalData = null, ?string $packageKey = null, ?string $className = null, ?string $methodName = null): void
3939
{
4040
if ($severity > $this->severityThreshold) {
4141
return;

0 commit comments

Comments
 (0)