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

Breadcrumb

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

function Psr3::severityNumber

Maps PSR-3 severity level (string) to the appropriate opentelemetry severity

Deprecated

Use Severity::fromPsr3

File

vendor/open-telemetry/api/Logs/Map/Psr3.php, line 16

Class

Psr3

Namespace

OpenTelemetry\API\Logs\Map

Code

public static function severityNumber(string $level) : Severity {
    return Severity::fromPsr3($level);
}

API Navigation

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