for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Valkyrja Framework package.
*
* (c) Melech Mizrachi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Valkyrja\Log;
use Throwable;
use Valkyrja\Log\Contract\Logger as Contract;
use Valkyrja\Log\Enum\LogLevel;
/**
* Class NullLogger.
* @author Melech Mizrachi
class NullLogger implements Contract
{
* @inheritDoc
public function debug(string $message, array $context = []): void
}
public function info(string $message, array $context = []): void
public function notice(string $message, array $context = []): void
public function warning(string $message, array $context = []): void
public function error(string $message, array $context = []): void
public function critical(string $message, array $context = []): void
public function alert(string $message, array $context = []): void
public function emergency(string $message, array $context = []): void
public function log(LogLevel $level, string $message, array $context = []): void
public function exception(Throwable $exception, string $message, array $context = []): void