Class \Prado\Util\TStdOutLogRoute
TStdOutLogRoute class.
This sends the log to STDOUT and will corrupt web server log files. This is useful in presenting PRADO logs in the PHP (Test and Development) Web Server output.
The TStdOutLogRoute can be turned off for all but the built-in Test web server with the configuration property TStdOutLogRoute::getOnlyDevServer set to true.
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
|
getEnabled() : bool
This returns if the route is enabled. When OnlyDevServer is true, then this route
will only enable when running a page in the PHP Web Server.
|
public
|
|
public
|
|
protected
static
|
|
protected
|
processLogs(array<string|int, mixed> $logs, bool $final, array<string|int, mixed> $meta) : mixed
Processes log messages and sends them to specific destination.
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |