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

Breadcrumb

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

function Globals::loggerProvider

2 calls to Globals::loggerProvider()
CachedInstrumentation::logger in vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php
SdkAutoloader::createLateBindingLoggerProvider in vendor/open-telemetry/sdk/SdkAutoloader.php

File

vendor/open-telemetry/api/Globals.php, line 56

Class

Globals
Provides access to the globally configured instrumentation instances.

Namespace

OpenTelemetry\API

Code

public static function loggerProvider() : LoggerProviderInterface {
    return Context::getCurrent()->get(ContextKeys::loggerProvider()) ?? self::globals()->loggerProvider;
}

API Navigation

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