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

Breadcrumb

  1. Drupal Core 11.1.x

Psr3LogWriter.php

Namespace

OpenTelemetry\API\Behavior\Internal\LogWriter

File

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

View source
<?php

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

use Psr\Log\LoggerInterface;
class Psr3LogWriter implements LogWriterInterface {
    public function __construct(LoggerInterface $logger) {
    }
    public function write($level, string $message, array $context) : void {
        $this->logger
            ->log($level, $message, $context);
    }

}

Classes

Title Deprecated Summary
Psr3LogWriter

API Navigation

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