blob: 1b9f785aa8f06c9950fcfd49bb6a2a7f2d3cbebb (
plain)
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));
}
}
|