AbstractBackend
abstract class AbstractBackend implements BackendInterface (View source)
An abstract Log backend
Properties
protected int | $severityThreshold | One of the LOG_* constants. Anything below that will be filtered out. |
|
protected bool | $logIpAddress | Flag telling if the IP address of the current client (if available) should be logged. |
Methods
__construct(mixed $options = [])
Constructs this log backend
void
setSeverityThreshold(int $severityThreshold)
The maximum severity to log, anything less severe will not be logged.
void
setLogIpAddress(bool $logIpAddress)
Enables or disables logging of IP addresses.
Details
__construct(mixed $options = [])
Constructs this log backend
void
setSeverityThreshold(int $severityThreshold)
The maximum severity to log, anything less severe will not be logged.
void
setLogIpAddress(bool $logIpAddress)
Enables or disables logging of IP addresses.