Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Xentral\Components\Logger\Handler;
|
||||
|
||||
use Xentral\Components\Logger\Context\ContextInterface;
|
||||
|
||||
final class NullLogHandler implements LogHandlerInterface
|
||||
{
|
||||
/**
|
||||
* @param string $level
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function canHandle(string $level): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $level
|
||||
* @param string $message
|
||||
* @param ContextInterface $context
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addLogEntry(string $level, string $message, ContextInterface $context): void
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user