Files
kiri-core/kiri-engine/Error/StdoutLoggerInterface.php
T
2022-02-23 16:32:08 +08:00

27 lines
378 B
PHP

<?php
namespace Kiri\Error;
use Psr\Log\LoggerInterface;
interface StdoutLoggerInterface extends LoggerInterface
{
/**
* @param $message
* @param string $model
* @return bool
*/
public function addError($message, string $model = 'app'): bool;
/**
* @param string $model
* @return mixed
*/
public function getLastError(string $model = 'app'): mixed;
}