OpenTelemetry PHP

LoggerInterface

Table of Contents

Methods

emit()  : void
isEnabled()  : bool
Determine if the logger is enabled. Instrumentation authors SHOULD call this method each time they emit a LogRecord, to ensure they have the most up-to-date response.

Methods

isEnabled()

Determine if the logger is enabled. Instrumentation authors SHOULD call this method each time they emit a LogRecord, to ensure they have the most up-to-date response.

public isEnabled([ContextInterface|null $context = null ][, int|null $severityNumber = null ]) : bool
Parameters
$context : ContextInterface|null = null
$severityNumber : int|null = null
Return values
bool

        
On this page

Search results