function InstrumentationLibraryLogs::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown). @type \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $log_records A list of logs that originate from an instrumentation library. @type string $schema_url This schema_url applies to all logs in the "logs" field. }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Logs/ V1/ InstrumentationLibraryLogs.php, line 58
Class
- InstrumentationLibraryLogs
- A collection of Logs produced by an InstrumentationLibrary. InstrumentationLibraryLogs is wire-compatible with ScopeLogs for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.
Namespace
Opentelemetry\Proto\Logs\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
parent::__construct($data);
}