function ScopeLogs::getScope
The instrumentation scope information for the logs in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
Return value
\Opentelemetry\Proto\Common\V1\InstrumentationScope|null
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Logs/ V1/ ScopeLogs.php, line 74
Class
- ScopeLogs
- A collection of Logs produced by a Scope.
Namespace
Opentelemetry\Proto\Logs\V1Code
public function getScope() {
return $this->scope;
}