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

Breadcrumb

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

function Logging::logLevel

Get defined OTEL_LOG_LEVEL, or default

1 call to Logging::logLevel()
LogsMessagesTrait::shouldLog in vendor/open-telemetry/api/Behavior/LogsMessagesTrait.php

File

vendor/open-telemetry/api/Behavior/Internal/Logging.php, line 64

Class

Logging
Logging utility functions for internal logging (of OpenTelemetry errors/warnings etc). This is not part of SDK configuration to avoid creating a dependency on SDK from any package which does logging. @todo this should be `@internal`, but deptrac is…

Namespace

OpenTelemetry\API\Behavior\Internal

Code

public static function logLevel() : int {
    self::$logLevel ??= self::getLogLevel();
    return self::$logLevel;
}

API Navigation

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