jaeger-client -> opentelemetry

This commit is contained in:
Andrew Dolgov
2023-10-20 17:12:29 +03:00
parent 45a9ff0c88
commit cdd7ad020e
1159 changed files with 93352 additions and 24252 deletions

View File

@@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
namespace OpenTelemetry\API\Logs;
use Psr\Log\LoggerTrait;
class NoopLogger implements LoggerInterface
{
use LoggerTrait;
public static function getInstance(): self
{
static $instance;
return $instance ??= new self();
}
/**
* @codeCoverageIgnore
*/
public function emit(LogRecord $logRecord): void
{
}
/**
* @codeCoverageIgnore
*/
public function log($level, $message, array $context = []): void
{
}
}