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

Breadcrumb

  1. Drupal Core 11.1.x

ErrorLogWriter.php

Namespace

OpenTelemetry\API\Behavior\Internal\LogWriter

File

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

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Behavior\Internal\LogWriter;

class ErrorLogWriter implements LogWriterInterface {
    public function write($level, string $message, array $context) : void {
        error_log(Formatter::format($level, $message, $context));
    }

}

Classes

Title Deprecated Summary
ErrorLogWriter
RSS feed
Powered by Drupal