xplo.re Medusa Core Framework 3.1
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • stream
  • syslog

Class syslog

Forwards log entries to the standard system log.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Log
Extended by Core\Log\Driver\syslog
Namespace: Core\Log\Driver
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.

Actual logger method implemented by drivers to process a new log entry.

Parameters

$priority
See Core\Log::report() method.
$ident
Application identifier.
$component
See Core\Log::report() method.
$message
See Core\Log::report() method.
$infoSet
See Core\Log::report() method.
$sourceInfo
See Core\Log::report() method.

Returns

true|mixed

A log driver must return true on success, any other return value is considered an error. Drivers may return additional error information.

Since

3.1

Methods inherited from Core\Log

__construct(), __invoke(), _formatUnifiedString(), autocreate(), chain(), report()

Methods inherited from Core\Set

__get(), __isset()

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\Log

Alert, Critical, Debug, Emergency, Error, Info, Notice, Warning

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.

Translation table of Log priority codes as keys to PHP syslog priority values.

Since

3.1
# 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

$_v_ident, $_v_successor

Magic properties

public read-only array $priorityTranslationTable

Translation table of Log priority codes as keys to PHP syslog priority values.

Magic properties inherited from Core\Log

$ident, $successor

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.1 API documentation generated by ApiGen