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

Breadcrumb

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

class Psr3

Hierarchy

  • class \OpenTelemetry\API\Logs\Map\Psr3

Expanded class hierarchy of Psr3

1 string reference to 'Psr3'
LogWriterFactory::create in vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php

File

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

Namespace

OpenTelemetry\API\Logs\Map
View source
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);
    }

}

Members

Title Sort descending Deprecated Modifiers Object type Summary
Psr3::severityNumber Deprecated public static function Maps PSR-3 severity level (string) to the appropriate opentelemetry severity

API Navigation

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