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

Breadcrumb

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

class ErrorLogWriter

Hierarchy

  • class \OpenTelemetry\API\Behavior\Internal\LogWriter\ErrorLogWriter implements \OpenTelemetry\API\Behavior\Internal\LogWriter\LogWriterInterface

Expanded class hierarchy of ErrorLogWriter

1 file declares its use of ErrorLogWriter
LogWriterFactory.php in vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php

File

vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php, line 7

Namespace

OpenTelemetry\API\Behavior\Internal\LogWriter
View source
class ErrorLogWriter implements LogWriterInterface {
    public function write($level, string $message, array $context) : void {
        error_log(Formatter::format($level, $message, $context));
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
ErrorLogWriter::write public function Overrides LogWriterInterface::write

API Navigation

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