ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | ||||
getHeaders () | ||||
![]() | ||||
__construct ($level=Logger::DEBUG, $bubble=true) | ||||
handleBatch (array $records) | ||||
{{Handles a set of records at once.
| ||||
__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... | ||||
![]() | ||||
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.
| ||||
![]() | ||||
__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 () | ||||
reset () | ||||
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... | ||||
reset () | ||||
Static Public Member Functions | |
static | resetStatic () |
Protected Member Functions | |
sendHeader ($header, $content) | |
Send header string to the client. More... | |
![]() | |
getDefaultFormatter () | |
Gets the default formatter.
| |
write (array $record) | |
Creates & sends header for a record. More... | |
send () | |
Sends the log header. More... | |
sendHeader ($header, $content) | |
Send header string to the client. More... | |
headersAccepted () | |
Verifies if the headers are accepted by the current user agent. More... | |
![]() | |
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... | |
Protected Attributes | |
$headers = array() | |
![]() | |
$level = Logger::DEBUG | |
$bubble = true | |
$formatter | |
$processors = array() | |
Additional Inherited Members | |
![]() | |
const | VERSION = '4.0' |
Version of the extension. More... | |
const | HEADER_NAME = 'X-ChromeLogger-Data' |
Header name. More... | |
const | USER_AGENT_REGEX = '{\b(?:Chrome/\d+(?:\.\d+)*|HeadlessChrome|Firefox/(?:4[3-9]|[5-9]\d|\d{3,})(?:\.\d)*)\b}' |
Regular expression to detect supported browsers (matches any Chrome, or Firefox 43+) More... | |
![]() | |
static | $initialized = false |
static | $overflowed = false |
static | $json |
static | $sendHeaders = true |
Definition at line 135 of file ChromePHPHandlerTest.php.
Monolog\Handler\TestChromePHPHandler::getHeaders | ( | ) |
Definition at line 152 of file ChromePHPHandlerTest.php.
References Monolog\Handler\TestChromePHPHandler\$headers.
|
static |
Definition at line 139 of file ChromePHPHandlerTest.php.
Referenced by Monolog\Handler\ChromePHPHandlerTest\setUp().
|
protected |
Send header string to the client.
string | $header | |
string | $content |
Reimplemented from Monolog\Handler\ChromePHPHandler.
Definition at line 147 of file ChromePHPHandlerTest.php.
References $header.
|
protected |
Definition at line 137 of file ChromePHPHandlerTest.php.
Referenced by Monolog\Handler\TestChromePHPHandler\getHeaders().