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

Breadcrumb

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

function ScopeLogs::setSchemaUrl

The Schema URL, if known. This is the identifier of the Schema that the log data is recorded in. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to all logs in the "logs" field.

Generated from protobuf field <code>string schema_url = 3;</code>

Parameters

string $var:

Return value

$this

File

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

Class

ScopeLogs
A collection of Logs produced by a Scope.

Namespace

Opentelemetry\Proto\Logs\V1

Code

public function setSchemaUrl($var) {
    GPBUtil::checkString($var, True);
    $this->schema_url = $var;
    return $this;
}

API Navigation

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