mirror of
https://github.com/chylex/Lightning-Tracker.git
synced 2024-09-20 22:42:49 +02:00
16 lines
241 B
PHP
16 lines
241 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
|
|
namespace Logging;
|
|
|
|
use Exception;
|
|
|
|
final class Log{
|
|
public static function critical(Exception $e): void{
|
|
/** @noinspection ForgottenDebugOutputInspection */
|
|
error_log($e->getMessage());
|
|
}
|
|
}
|
|
|
|
?>
|