OpenTelemetry PHP

LoggerProviderInterface

Implementations MUST be safe for concurrent use, for example from multiple fibers.

Tags
see
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.61.0/specification/logs/api.md#get-a-logger

Table of Contents

Methods

getLogger()  : LoggerInterface

Methods

getLogger()

public getLogger(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<string|int, mixed> $attributes = [] ]) : LoggerInterface
Parameters
$name : string
$version : string|null = null
$schemaUrl : string|null = null
$attributes : iterable<string|int, mixed> = []
Return values
LoggerInterface
On this page

Search results