Class LoggerAppenderConsole
LoggerAppenderConsole appends log events either to the standard output stream (php://stdout) or the standard error stream (php://stderr).
Note: Use this Appender with command-line php scripts. On web scripts this appender has no effects.
This appender uses a layout.
Configurable parameters:
- target - the target stream: "stdout" or "stderr"
- LoggerConfigurable
- LoggerAppender
- LoggerAppenderConsole
Package: log4php\appenders
License: Apache License, Version 2.0
Version: $Revision: 1343601 $
Link: Appender documentation
Located at appenders/LoggerAppenderConsole.php
License: Apache License, Version 2.0
Version: $Revision: 1343601 $
Link: Appender documentation
Located at appenders/LoggerAppenderConsole.php
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
setBoolean(),
setFileSize(),
setInteger(),
setLevel(),
setNumeric(),
setPositiveInteger(),
setString()
|
string |
STDOUT
|
'php://stdout' |
#
The standard otuput stream. |
string |
STDERR
|
'php://stderr' |
#
The standard error stream. |
protected
string
|
$target |
|
#
The 'target' parameter. |
protected
resource
|
$fp | null |
#
Stream resource for the target stream. |
$closed,
$filter,
$layout,
$name,
$requiresLayout,
$threshold
|