| 1 |
<?php |
| 2 |
|
| 3 |
namespace Forge12\Shared; |
| 4 |
|
| 5 |
if ( ! interface_exists( 'Forge12\Shared\LoggerInterface' ) ) { |
| 6 |
interface LoggerInterface { |
| 7 |
public function debug( string $message, array $context = [] ): void; |
| 8 |
|
| 9 |
public function info( string $message, array $context = [] ): void; |
| 10 |
|
| 11 |
public function error( string $message, array $context = [] ): void; |
| 12 |
|
| 13 |
public function critical( string $message, array $context = [] ): void; |
| 14 |
|
| 15 |
public function warning( string $message, array $context = [] ): void; |
| 16 |
|
| 17 |
public function notice( string $message, array $context = [] ): void; // Füge diese Zeile hinzu |
| 18 |
} |
| 19 |
} |