OpenTelemetry PHP

LateBindingLogger
in package
implements LoggerInterface

Table of Contents

Interfaces

LoggerInterface

Properties

$factory  : Closure
$logger  : LoggerInterface|null

Methods

__construct()  : mixed
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.

Properties

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