PHP Класс Neos\Flow\Log\Backend\AbstractBackend

Наследование: implements Neos\Flow\Log\Backend\BackendInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
getFormattedVarDump ( mixed $var, integer $spaces = 4 ) : string Returns a suitable form of a variable (be it a string, array, object .

Описание методов

__construct() публичный Метод

Constructs this log backend
public __construct ( mixed $options = [] )
$options mixed Configuration options - depends on the actual backend

getFormattedVarDump() защищенный Метод

..) for logfile output
protected getFormattedVarDump ( mixed $var, integer $spaces = 4 ) : string
$var mixed The variable
$spaces integer Number of spaces to add before a line
Результат string text output

setLogIpAddress() публичный Метод

Enables or disables logging of IP addresses.
public setLogIpAddress ( boolean $logIpAddress ) : void
$logIpAddress boolean Set to TRUE to enable logging of IP address, or FALSE to disable
Результат void

setSeverityThreshold() публичный Метод

The maximum severity to log, anything less severe will not be logged.
public setSeverityThreshold ( integer $severityThreshold ) : void
$severityThreshold integer One of the LOG_* constants
Результат void

Описание свойств

$logIpAddress защищенное свойство

Flag telling if the IP address of the current client (if available) should be logged.
protected bool $logIpAddress
Результат boolean

$severityThreshold защищенное свойство

One of the LOG_* constants. Anything below that will be filtered out.
protected int $severityThreshold
Результат integer