function ConsoleExporter::scopeKey
1 call to ConsoleExporter::scopeKey()
- ConsoleExporter::export in vendor/
open-telemetry/ sdk/ Logs/ Exporter/ ConsoleExporter.php
File
-
vendor/
open-telemetry/ sdk/ Logs/ Exporter/ ConsoleExporter.php, line 87
Class
- ConsoleExporter
- A JSON console exporter for LogRecords. This is only useful for testing; the output is human-readable, and is not compatible with the OTLP format.
Namespace
OpenTelemetry\SDK\Logs\ExporterCode
private function scopeKey(InstrumentationScopeInterface $scope) : string {
return serialize([
$scope->getName(),
$scope->getVersion(),
$scope->getSchemaUrl(),
$scope->getAttributes(),
]);
}