1 2 3 4 5 6 7 8 9 10 11 12 13
<?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)); } }