jilo-web/app/core/NullLogger.php

18 lines
371 B
PHP
Raw Normal View History

<?php
namespace App\Core;
/**
* NullLogger is a fallback for disabling logging when there is no logging plugin enabled.
*/
class NullLogger
{
/**
2025-04-27 16:21:23 +00:00
* PSR-3 compatible log stub.
2025-04-27 12:43:45 +00:00
* @param string $level
* @param string $message
* @param array $context
*/
public function log(string $level, string $message, array $context = []): void {}
}