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

Breadcrumb

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

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\Exporter
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal