ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Protected Member Functions | ||||
isNewRelicEnabled () | ||||
Checks whether the NewRelic extension is enabled in the system. More... | ||||
![]() | ||||
write (array $record) | ||||
Writes the record down to the log of the implementing handler.
| ||||
isNewRelicEnabled () | ||||
Checks whether the NewRelic extension is enabled in the system. More... | ||||
getAppName (array $context) | ||||
Returns the appname where this log should be sent. More... | ||||
getTransactionName (array $context) | ||||
Returns the name of the current transaction. More... | ||||
setNewRelicAppName ($appName) | ||||
Sets the NewRelic application that should receive this log. More... | ||||
setNewRelicTransactionName ($transactionName) | ||||
Overwrites the name of the current transaction. More... | ||||
setNewRelicParameter ($key, $value) | ||||
getDefaultFormatter () | ||||
Gets the default formatter.
| ||||
![]() | ||||
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... | ||||
Additional Inherited Members | ||||
![]() | ||||
__construct ( $level=Logger::ERROR, $bubble=true, $appName=null, $explodeArrays=false, $transactionName=null) | ||||
![]() | ||||
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 () | ||||
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... | ||||
![]() | ||||
$appName | ||||
$transactionName | ||||
$explodeArrays | ||||
![]() | ||||
$level = Logger::DEBUG | ||||
$bubble = true | ||||
$formatter | ||||
$processors = array() | ||||
Definition at line 156 of file NewRelicHandlerTest.php.
|
protected |
Checks whether the NewRelic extension is enabled in the system.
Reimplemented from Monolog\Handler\NewRelicHandler.
Definition at line 158 of file NewRelicHandlerTest.php.