PHP Class yii\log\SyslogTarget

Since: 2.0
Author: miramir ([email protected])
Inheritance: extends Target
Datei anzeigen Open project: yiisoft/yii2

Public Properties

Property Type Description
$facility syslog facility.
$identity syslog identity
$options openlog options. This is a bitfield passed as the $option parameter to openlog(). Defaults to null which means to use the default options LOG_ODELAY | LOG_PID.

Public Methods

Method Description
export ( ) Writes log messages to syslog
formatMessage ( $message )
init ( )

Method Details

export() public method

Writes log messages to syslog
public export ( )

formatMessage() public method

public formatMessage ( $message )

init() public method

public init ( )

Property Details

$facility public_oe property

syslog facility.
public $facility

$identity public_oe property

syslog identity
public $identity

$options public_oe property

openlog options. This is a bitfield passed as the $option parameter to openlog(). Defaults to null which means to use the default options LOG_ODELAY | LOG_PID.
See also: http://php.net/openlog for available options.
Since: 2.0.11
public $options