LoggerInterface
in
Table of Contents
Methods
- 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.
Methods
emit()
This method should only be used when implementing a `log appender`
public
emit(LogRecord $logRecord) : void
Parameters
- $logRecord : LogRecord
Tags
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