class ErrorLogWriter
Hierarchy
- class \OpenTelemetry\API\Behavior\Internal\LogWriter\ErrorLogWriter implements \OpenTelemetry\API\Behavior\Internal\LogWriter\LogWriterInterface
Expanded class hierarchy of ErrorLogWriter
1 file declares its use of ErrorLogWriter
- LogWriterFactory.php in vendor/
open-telemetry/ api/ Behavior/ Internal/ LogWriterFactory.php
File
-
vendor/
open-telemetry/ api/ Behavior/ Internal/ LogWriter/ ErrorLogWriter.php, line 7
Namespace
OpenTelemetry\API\Behavior\Internal\LogWriterView source
class ErrorLogWriter implements LogWriterInterface {
public function write($level, string $message, array $context) : void {
error_log(Formatter::format($level, $message, $context));
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ErrorLogWriter::write | public | function | Overrides LogWriterInterface::write |