18 lines
727 B
PHP
18 lines
727 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Psr\Log;
|
|
|
|
interface LoggerInterface {
|
|
public function emergency(string $message, array $context = []): void;
|
|
public function alert(string $message, array $context = []): void;
|
|
public function critical(string $message, array $context = []): void;
|
|
public function error(string $message, array $context = []): void;
|
|
public function warning(string $message, array $context = []): void;
|
|
public function notice(string $message, array $context = []): void;
|
|
public function info(string $message, array $context = []): void;
|
|
public function debug(string $message, array $context = []): void;
|
|
public function log(string $level, string $message, array $context = []): void;
|
|
}
|
|
|