Class shardimage\shardimagephp\loggers\SysLogger
Inheritance | shardimage\shardimagephp\loggers\SysLogger » shardimage\shardimagephp\loggers\BaseLogger » Psr\Log\AbstractLogger |
---|
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$facility | integer | shardimage\shardimagephp\loggers\SysLogger | |
$ident | string | shardimage\shardimagephp\loggers\SysLogger | |
$option | integer | shardimage\shardimagephp\loggers\SysLogger |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
interpolate() | Interpolates context values into the message placeholders. | shardimage\shardimagephp\loggers\BaseLogger |
Property Details
Method Details
public void __construct ( $ident = 'shardimage-php', $option = LOG_PID, $facility = LOG_USER ) | ||
$ident | string | [optional] The string ident is added to each message. See |
$option | integer | [optional] The option argument is used to indicate what logging options will
be used when generating a log message. See |
$facility | integer | [optional] The facility argument is used to specify what type of program is logging the
message. See |
public void log ( $level, $message, array $context = [] ) | ||
$level | ||
$message | ||
$context |
public void setFacility ( $facility ) | ||
$facility | integer | The facility argument is used to specify what type of program is logging the
message. See |
public void setIdent ( $ident ) | ||
$ident | string | The string ident is added to each message. See |
public void setOption ( $option ) | ||
$option | integer | The option argument is used to indicate what logging options will
be used when generating a log message. See |