OpenTelemetry PHP

LateBindingLogger
in package
implements LoggerInterface

Table of Contents

Interfaces

LoggerInterface

Properties

$factory  : Closure
$logger  : LoggerInterface|null

Methods

__construct()  : mixed
emit()  : void
This method should only be used when implementing a `log appender`
isEnabled()  : bool
Determine if the logger is enabled. Logs bridge API authors SHOULD call this method each time they are about to generate a LogRecord, to avoid performing computationally expensive work.

Properties

Methods

isEnabled()

Determine if the logger is enabled. Logs bridge API authors SHOULD call this method each time they are about to generate a LogRecord, to avoid performing computationally expensive work.

public isEnabled() : bool
Return values
bool

        
On this page

Search results