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

Breadcrumb

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

function LoggerInterface::critical

Critical conditions.

Example: Application component unavailable, unexpected exception.

Parameters

mixed[] $context:

1 method overrides LoggerInterface::critical()
BaseIO::critical in vendor/composer/composer/src/Composer/IO/BaseIO.php

File

vendor/psr/log/src/LoggerInterface.php, line 46

Class

LoggerInterface
Describes a logger instance.

Namespace

Psr\Log

Code

public function critical(string|\Stringable $message, array $context = []) : void;

API Navigation

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