Property | Type | Description | |
---|---|---|---|
$logIpAddress | boolean | Flag telling if the IP address of the current client (if available) should be logged. | |
$severityThreshold | integer | One of the LOG_* constants. Anything below that will be filtered out. |
Method | Description | |
---|---|---|
__construct ( mixed $options = [] ) | Constructs this log backend | |
setLogIpAddress ( boolean $logIpAddress ) : void | Enables or disables logging of IP addresses. | |
setSeverityThreshold ( integer $severityThreshold ) : void | The maximum severity to log, anything less severe will not be logged. |
Method | Description | |
---|---|---|
getFormattedVarDump ( mixed $var, integer $spaces = 4 ) : string | Returns a suitable form of a variable (be it a string, array, object . |
public __construct ( mixed $options = [] ) | ||
$options | mixed | Configuration options - depends on the actual backend |
public setLogIpAddress ( boolean $logIpAddress ) : void | ||
$logIpAddress | boolean | Set to TRUE to enable logging of IP address, or FALSE to disable |
return | void |
public setSeverityThreshold ( integer $severityThreshold ) : void | ||
$severityThreshold | integer | One of the LOG_* constants |
return | void |
protected bool $logIpAddress | ||
return | boolean |
protected int $severityThreshold | ||
return | integer |