Class \Prado\Util\TSysLogRoute
TSysLogRoute class.
Sends the log to the syslog.
Class hierarchy
Author: Brad Anderson <belisoful@icloud.com>Since: 4.3.0
public
|
formatLogMessage(array<string|int, mixed> $log) : string
Formats a log message given different fields.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setSysLogFlags(null|int|string|array<string|int, string> $value) : static
This sets the `openlog` flags. It can be an integer, a string or an array of strings.
As a string, the delimiters are ',' and '|' acting identically. By setting to null, this will default to |
public
|
|
protected
|
processLogs(array<string|int, mixed> $logs, bool $final, array<string|int, mixed> $meta) : mixed
Processes log messages and sends them to specific destination.
|
protected
static
|
translateLogLevel(int $level) : int
Translates a PRADO log level attribute into one understood by syslog
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |