PHP 클래스 Neos\Flow\Log\Backend\AbstractBackend

상속: implements Neos\Flow\Log\Backend\BackendInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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