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

Breadcrumb

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

function CachedInstrumentation::eventLogger

File

vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php, line 71

Class

CachedInstrumentation
Provides access to cached {@link TracerInterface} and {@link MeterInterface} instances.

Namespace

OpenTelemetry\API\Instrumentation

Code

public function eventLogger() : EventLoggerInterface {
    $eventLoggerProvider = Globals::eventLoggerProvider();
    return $this->eventLoggers[$eventLoggerProvider] ??= $eventLoggerProvider->getEventLogger($this->name, $this->version, $this->schemaUrl, $this->attributes);
}

API Navigation

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