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

Breadcrumb

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

function InstrumentationLibraryLogs::getLogRecords

A list of logs that originate from an instrumentation library.

Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>

Return value

\Google\Protobuf\Internal\RepeatedField

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php, line 109

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\V1

Code

public function getLogRecords() {
    return $this->log_records;
}

API Navigation

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