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

Breadcrumb

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

class Psr3LogWriter

Hierarchy

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

Expanded class hierarchy of Psr3LogWriter

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

File

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

Namespace

OpenTelemetry\API\Behavior\Internal\LogWriter
View source
class Psr3LogWriter implements LogWriterInterface {
    public function __construct(LoggerInterface $logger) {
    }
    public function write($level, string $message, array $context) : void {
        $this->logger
            ->log($level, $message, $context);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Psr3LogWriter::write public function Overrides LogWriterInterface::write
Psr3LogWriter::__construct public function
RSS feed
Powered by Drupal