class NoopExporter
Hierarchy
- class \OpenTelemetry\SDK\Logs\Exporter\NoopExporter implements \OpenTelemetry\SDK\Logs\LogRecordExporterInterface
Expanded class hierarchy of NoopExporter
1 file declares its use of NoopExporter
- ExporterFactory.php in vendor/
open-telemetry/ sdk/ Logs/ ExporterFactory.php
File
-
vendor/
open-telemetry/ sdk/ Logs/ Exporter/ NoopExporter.php, line 12
Namespace
OpenTelemetry\SDK\Logs\ExporterView source
class NoopExporter implements LogRecordExporterInterface {
public function export(iterable $batch, ?CancellationInterface $cancellation = null) : FutureInterface {
return new CompletedFuture(true);
}
public function forceFlush(?CancellationInterface $cancellation = null) : bool {
return true;
}
public function shutdown(?CancellationInterface $cancellation = null) : bool {
return true;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
NoopExporter::export | public | function | Overrides LogRecordExporterInterface::export | |
NoopExporter::forceFlush | public | function | Overrides LogRecordExporterInterface::forceFlush | |
NoopExporter::shutdown | public | function | Overrides LogRecordExporterInterface::shutdown |