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

Breadcrumb

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

Logger::LEVELS

File

vendor/symfony/http-kernel/Log/Logger.php, line 27

Class

Logger
Minimalist PSR-3 logger designed to write in stderr or any other stream.

Namespace

Symfony\Component\HttpKernel\Log

Code

private const LEVELS = [
    LogLevel::DEBUG => 0,
    LogLevel::INFO => 1,
    LogLevel::NOTICE => 2,
    LogLevel::WARNING => 3,
    LogLevel::ERROR => 4,
    LogLevel::CRITICAL => 5,
    LogLevel::ALERT => 6,
    LogLevel::EMERGENCY => 7,
];

API Navigation

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