|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol. More...
Inheritance diagram for Monolog\Handler\FirePHPHandler:
Collaboration diagram for Monolog\Handler\FirePHPHandler:Public Member Functions | ||||
| __get ($property) | ||||
| BC getter for the sendHeaders property that has been made static. More... | ||||
| __set ($property, $value) | ||||
| BC setter for the sendHeaders property that has been made static. More... | ||||
Public Member Functions inherited from Monolog\Handler\AbstractProcessingHandler | ||||
| handle (array $record) | ||||
{Handles a record.All records may be passed to this method, and the handler should discard those that it does not want to handle.The return value of this function controls the bubbling process of the handler stack. Unless the bubbling is interrupted (by returning true), the Logger class will keep on calling further handlers in the stack with a given log record.
| ||||
Public Member Functions inherited from Monolog\Handler\AbstractHandler | ||||
| __construct ($level=Logger::DEBUG, $bubble=true) | ||||
| isHandling (array $record) | ||||
{Checks whether the given record will be handled by this handler.This is mostly done for performance reasons, to avoid calling processors for nothing.Handlers should still check the record levels within handle(), returning false in isHandling() is no guarantee that handle() will not be called, and isHandling() might not be called for a given record.
| ||||
| handleBatch (array $records) | ||||
{Handles a set of records at once.
| ||||
| close () | ||||
| Closes the handler. More... | ||||
| pushProcessor ($callback) | ||||
{Adds a processor in the stack.
| ||||
| popProcessor () | ||||
{Removes the processor on top of the stack and returns it.
| ||||
| setFormatter (FormatterInterface $formatter) | ||||
{Sets the formatter.
| ||||
| getFormatter () | ||||
{Gets the formatter.
| ||||
| setLevel ($level) | ||||
| Sets minimum logging level at which this handler will be triggered. More... | ||||
| getLevel () | ||||
| Gets minimum logging level at which this handler will be triggered. More... | ||||
| setBubble ($bubble) | ||||
| Sets the bubbling behavior. More... | ||||
| getBubble () | ||||
| Gets the bubbling behavior. More... | ||||
| __destruct () | ||||
| isHandling (array $record) | ||||
| Checks whether the given record will be handled by this handler. More... | ||||
| handle (array $record) | ||||
| Handles a record. More... | ||||
| handleBatch (array $records) | ||||
| Handles a set of records at once. More... | ||||
| pushProcessor ($callback) | ||||
| Adds a processor in the stack. More... | ||||
| popProcessor () | ||||
| Removes the processor on top of the stack and returns it. More... | ||||
| setFormatter (FormatterInterface $formatter) | ||||
| Sets the formatter. More... | ||||
| getFormatter () | ||||
| Gets the formatter. More... | ||||
Data Fields | |
| const | PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2' |
| WildFire JSON header message format. More... | |
| const | STRUCTURE_URI = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1' |
| FirePHP structure for parsing messages & their presentation. More... | |
| const | PLUGIN_URI = 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3' |
| Must reference a "known" plugin, otherwise headers won't display in FirePHP. More... | |
| const | HEADER_PREFIX = 'X-Wf' |
| Header prefix for Wildfire to recognize & parse headers. More... | |
Protected Member Functions | |
| createHeader (array $meta, $message) | |
| Base header creation function used by init headers & record headers. More... | |
| createRecordHeader (array $record) | |
| Creates message header from record. More... | |
| getDefaultFormatter () | |
Gets the default formatter.
| |
| getInitHeaders () | |
| Wildfire initialization headers to enable message parsing. More... | |
| sendHeader ($header, $content) | |
| Send header string to the client. More... | |
| write (array $record) | |
| Creates & sends header for a record, ensuring init headers have been sent prior. More... | |
| headersAccepted () | |
| Verifies if the headers are accepted by the current user agent. More... | |
Protected Member Functions inherited from Monolog\Handler\AbstractProcessingHandler | |
| write (array $record) | |
| Writes the record down to the log of the implementing handler. More... | |
| processRecord (array $record) | |
| Processes a record. More... | |
| getDefaultFormatter () | |
| Gets the default formatter. More... | |
Static Protected Attributes | |
| static | $initialized = false |
| Whether or not Wildfire vendor-specific headers have been generated & sent yet. More... | |
| static | $messageIndex = 1 |
| static | $sendHeaders = true |
Additional Inherited Members | |
Protected Attributes inherited from Monolog\Handler\AbstractHandler | |
| $level = Logger::DEBUG | |
| $bubble = true | |
| $formatter | |
| $processors = array() | |
Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol.
Definition at line 21 of file FirePHPHandler.php.
| Monolog\Handler\FirePHPHandler::__get | ( | $property | ) |
BC getter for the sendHeaders property that has been made static.
Definition at line 175 of file FirePHPHandler.php.
| Monolog\Handler\FirePHPHandler::__set | ( | $property, | |
| $value | |||
| ) |
BC setter for the sendHeaders property that has been made static.
Definition at line 187 of file FirePHPHandler.php.
|
protected |
Base header creation function used by init headers & record headers.
| array | $meta | Wildfire Plugin, Protocol & Structure Indexes |
| string | $message | Log message |
Definition at line 63 of file FirePHPHandler.php.
References $header, $message, and sprintf.
Referenced by Monolog\Handler\FirePHPHandler\createRecordHeader(), and Monolog\Handler\FirePHPHandler\getInitHeaders().
Here is the caller graph for this function:
|
protected |
Creates message header from record.
| array | $record |
Definition at line 77 of file FirePHPHandler.php.
References Monolog\Handler\FirePHPHandler\createHeader().
Referenced by Monolog\Handler\FirePHPHandler\write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Gets the default formatter.
Reimplemented from Monolog\Handler\AbstractHandler.
Definition at line 90 of file FirePHPHandler.php.
|
protected |
Wildfire initialization headers to enable message parsing.
Definition at line 102 of file FirePHPHandler.php.
References Monolog\Handler\FirePHPHandler\createHeader().
Referenced by Monolog\Handler\FirePHPHandler\write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Verifies if the headers are accepted by the current user agent.
Definition at line 163 of file FirePHPHandler.php.
References $_SERVER.
Referenced by Monolog\Handler\FirePHPHandler\write().
Here is the caller graph for this function:
|
protected |
Send header string to the client.
| string | $header | |
| string | $content |
Reimplemented in Monolog\Handler\TestFirePHPHandler.
Definition at line 118 of file FirePHPHandler.php.
References $header, and sprintf.
Referenced by Monolog\Handler\FirePHPHandler\write().
Here is the caller graph for this function:
|
protected |
Creates & sends header for a record, ensuring init headers have been sent prior.
| array | $record |
Reimplemented from Monolog\Handler\AbstractProcessingHandler.
Definition at line 132 of file FirePHPHandler.php.
References $header, Monolog\Handler\FirePHPHandler\createRecordHeader(), Monolog\Handler\FirePHPHandler\getInitHeaders(), Monolog\Handler\FirePHPHandler\headersAccepted(), and Monolog\Handler\FirePHPHandler\sendHeader().
Here is the call graph for this function:
|
staticprotected |
Whether or not Wildfire vendor-specific headers have been generated & sent yet.
Definition at line 46 of file FirePHPHandler.php.
|
staticprotected |
Definition at line 52 of file FirePHPHandler.php.
|
staticprotected |
Definition at line 54 of file FirePHPHandler.php.
| const Monolog\Handler\FirePHPHandler::HEADER_PREFIX = 'X-Wf' |
Header prefix for Wildfire to recognize & parse headers.
Definition at line 41 of file FirePHPHandler.php.
| const Monolog\Handler\FirePHPHandler::PLUGIN_URI = 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3' |
Must reference a "known" plugin, otherwise headers won't display in FirePHP.
Definition at line 36 of file FirePHPHandler.php.
| const Monolog\Handler\FirePHPHandler::PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2' |
WildFire JSON header message format.
Definition at line 26 of file FirePHPHandler.php.
| const Monolog\Handler\FirePHPHandler::STRUCTURE_URI = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1' |
FirePHP structure for parsing messages & their presentation.
Definition at line 31 of file FirePHPHandler.php.