Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NoopEventLogger.php

class NoopEventLogger

Hierarchy

  • class \OpenTelemetry\API\Logs\NoopEventLogger implements \OpenTelemetry\API\Logs\EventLoggerInterface

Expanded class hierarchy of NoopEventLogger

File

vendor/open-telemetry/api/Logs/NoopEventLogger.php, line 9

Namespace

OpenTelemetry\API\Logs
View source
class NoopEventLogger implements EventLoggerInterface {
    public static function instance() : self {
        static $instance;
        $instance ??= new self();
        return $instance;
    }
    public function emit(string $name, mixed $body = null, ?int $timestamp = null, ?ContextInterface $context = null, Severity|int|null $severityNumber = null, iterable $attributes = []) : void {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopEventLogger::emit public function Overrides EventLoggerInterface::emit
NoopEventLogger::instance public static function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal