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

Breadcrumb

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

function NoopTracerProvider::getTracer

Overrides TracerProviderInterface::getTracer

File

vendor/open-telemetry/api/Trace/NoopTracerProvider.php, line 9

Class

NoopTracerProvider

Namespace

OpenTelemetry\API\Trace

Code

public function getTracer(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) : TracerInterface {
    return NoopTracer::getInstance();
}

API Navigation

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