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

Breadcrumb

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

PsrSeverityMapperInterface::SEVERITY_NUMBER

Mappig of OpenTelemetry SeverityNumber to PsrLogLevel. @see: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7…

File

vendor/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php, line 40

Class

PsrSeverityMapperInterface

Namespace

OpenTelemetry\SDK\Logs

Code

public const SEVERITY_NUMBER = [
    PsrLogLevel::DEBUG => 5,
    PsrLogLevel::INFO => 9,
    PsrLogLevel::NOTICE => 10,
    PsrLogLevel::WARNING => 13,
    PsrLogLevel::ERROR => 17,
    PsrLogLevel::CRITICAL => 18,
    PsrLogLevel::ALERT => 21,
    PsrLogLevel::EMERGENCY => 22,
];

API Navigation

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