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

Breadcrumb

  1. Drupal Core 11.1.x

EventLoggerInterface.php

Namespace

OpenTelemetry\API\Logs

File

vendor/open-telemetry/api/Logs/EventLoggerInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Logs;

use OpenTelemetry\Context\ContextInterface;

/**
 * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#events-api-interface
 */
interface EventLoggerInterface {
    public function emit(string $name, mixed $body = null, ?int $timestamp = null, ?ContextInterface $context = null, ?Severity $severityNumber = null, iterable $attributes = []) : void;

}

Interfaces

Title Deprecated Summary
EventLoggerInterface

API Navigation

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