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

Breadcrumb

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

function Logger::isEnabled

Overrides LoggerInterface::isEnabled

1 call to Logger::isEnabled()
Logger::emit in vendor/open-telemetry/sdk/Logs/Logger.php
This method should only be used when implementing a `log appender`

File

vendor/open-telemetry/sdk/Logs/Logger.php, line 55

Class

Logger
Note that this logger class is deliberately NOT psr-3 compatible, per spec: "Note: this document defines a log backend API. The API is not intended to be called by application developers directly."

Namespace

OpenTelemetry\SDK\Logs

Code

public function isEnabled() : bool {
    return $this->config
        ->isEnabled();
}
RSS feed
Powered by Drupal