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

Breadcrumb

  1. Drupal Core 11.1.x

Psr3.php

Namespace

OpenTelemetry\API\Logs\Map

File

vendor/open-telemetry/api/Logs/Map/Psr3.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Logs\Map;

use OpenTelemetry\API\Logs\Severity;
class Psr3 {
    
    /**
     * Maps PSR-3 severity level (string) to the appropriate opentelemetry severity
     *
     * @deprecated Use Severity::fromPsr3
     */
    public static function severityNumber(string $level) : Severity {
        return Severity::fromPsr3($level);
    }

}

Classes

Title Deprecated Summary
Psr3

API Navigation

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