This commit is contained in:
2023-11-23 16:33:06 +08:00
parent d30df26cc8
commit 396248e41e
3 changed files with 23 additions and 7 deletions
+15
View File
@@ -896,6 +896,21 @@ if (!function_exists('trigger_print_error')) {
}
if (!function_exists('println')) {
/**
* @param mixed $message
* @param string $method
* @return bool
* @throws
*/
function println(mixed $message, string $method = 'app'): bool
{
return Kiri::getLogger()->failure($message, $method);
}
}
if (!function_exists('event')) {