Class syslog
Forwards log entries to the standard system log.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Log
-
Core\Log\Driver\syslog
Package: Core\Log
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Log/Driver/syslog.inc.php
Methods summary
protected
true|mixed
|
#
_report( string $priority, string $ident, string $component, string $message, array $infoSet = null, array $sourceInfo = null )
Actual logger method implemented by drivers to process a new log entry. |
Methods inherited from Core\Log
__construct(),
__invoke(),
_formatUnifiedString(),
autocreate(),
chain(),
report()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
array
|
$_v_priorityTranslationTable
Translation table of Log priority codes as keys to PHP syslog priority values. |
#
array (
self::Emergency => \LOG_EMERG,
self::Alert => \LOG_ALERT,
self::Critical => \LOG_CRIT,
self::Error => \LOG_ERR,
self::Warning => \LOG_WARNING,
self::Notice => \LOG_NOTICE,
self::Info => \LOG_INFO,
self::Debug => \LOG_DEBUG,
)
|
Properties inherited from Core\Log
Magic properties
public read-only
array
|
$priorityTranslationTable
Translation table of Log priority codes as keys to PHP syslog priority values. |