|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for Monolog\Logger:
Collaboration diagram for Monolog\Logger:Public Member Functions | |
| __construct ($name, array $handlers=array(), array $processors=array()) | |
| getName () | |
| pushHandler (HandlerInterface $handler) | |
| Pushes a handler on to the stack. More... | |
| popHandler () | |
| Pops a handler from the stack. More... | |
| getHandlers () | |
| pushProcessor ($callback) | |
| Adds a processor on to the stack. More... | |
| popProcessor () | |
| Removes the processor on top of the stack and returns it. More... | |
| getProcessors () | |
| addRecord ($level, $message, array $context=array()) | |
| Adds a log record. More... | |
| addDebug ($message, array $context=array()) | |
| Adds a log record at the DEBUG level. More... | |
| addInfo ($message, array $context=array()) | |
| Adds a log record at the INFO level. More... | |
| addNotice ($message, array $context=array()) | |
| Adds a log record at the NOTICE level. More... | |
| addWarning ($message, array $context=array()) | |
| Adds a log record at the WARNING level. More... | |
| addError ($message, array $context=array()) | |
| Adds a log record at the ERROR level. More... | |
| addCritical ($message, array $context=array()) | |
| Adds a log record at the CRITICAL level. More... | |
| addAlert ($message, array $context=array()) | |
| Adds a log record at the ALERT level. More... | |
| addEmergency ($message, array $context=array()) | |
| Adds a log record at the EMERGENCY level. More... | |
| isHandling ($level) | |
| Checks whether the Logger has a handler that listens on the given level. More... | |
| log ($level, $message, array $context=array()) | |
| Adds a log record at an arbitrary level. More... | |
| debug ($message, array $context=array()) | |
| Adds a log record at the DEBUG level. More... | |
| info ($message, array $context=array()) | |
| Adds a log record at the INFO level. More... | |
| notice ($message, array $context=array()) | |
| Adds a log record at the NOTICE level. More... | |
| warn ($message, array $context=array()) | |
| Adds a log record at the WARNING level. More... | |
| warning ($message, array $context=array()) | |
| Adds a log record at the WARNING level. More... | |
| err ($message, array $context=array()) | |
| Adds a log record at the ERROR level. More... | |
| error ($message, array $context=array()) | |
| Adds a log record at the ERROR level. More... | |
| crit ($message, array $context=array()) | |
| Adds a log record at the CRITICAL level. More... | |
| critical ($message, array $context=array()) | |
| Adds a log record at the CRITICAL level. More... | |
| alert ($message, array $context=array()) | |
| Adds a log record at the ALERT level. More... | |
| emerg ($message, array $context=array()) | |
| Adds a log record at the EMERGENCY level. More... | |
| emergency ($message, array $context=array()) | |
| Adds a log record at the EMERGENCY level. More... | |
| emergency ($message, array $context=array()) | |
| System is unusable. More... | |
| alert ($message, array $context=array()) | |
| Action must be taken immediately. More... | |
| critical ($message, array $context=array()) | |
| Critical conditions. More... | |
| error ($message, array $context=array()) | |
| Runtime errors that do not require immediate action but should typically be logged and monitored. More... | |
| warning ($message, array $context=array()) | |
| Exceptional occurrences that are not errors. More... | |
| notice ($message, array $context=array()) | |
| Normal but significant events. More... | |
| info ($message, array $context=array()) | |
| Interesting events. More... | |
| debug ($message, array $context=array()) | |
| Detailed debug information. More... | |
| log ($level, $message, array $context=array()) | |
| Logs with an arbitrary level. More... | |
Static Public Member Functions | |
| static | getLevels () |
| Gets all supported logging levels. More... | |
| static | getLevelName ($level) |
| Gets the name of the logging level. More... | |
| static | toMonologLevel ($level) |
| Converts PSR-3 levels to Monolog ones if necessary. More... | |
| static | setTimezone (\DateTimeZone $tz) |
| Set the timezone to be used for the timestamp of log records. More... | |
Data Fields | |
| const | DEBUG = 100 |
| Detailed debug information. More... | |
| const | INFO = 200 |
| Interesting events. More... | |
| const | NOTICE = 250 |
| Uncommon events. More... | |
| const | WARNING = 300 |
| Exceptional occurrences that are not errors. More... | |
| const | ERROR = 400 |
| Runtime errors. More... | |
| const | CRITICAL = 500 |
| Critical conditions. More... | |
| const | ALERT = 550 |
| Action must be taken immediately. More... | |
| const | EMERGENCY = 600 |
| Urgent alert. More... | |
| const | API = 1 |
Protected Attributes | |
| $name | |
| $handlers | |
| $processors | |
Static Protected Attributes | |
| static | $levels |
| static | $timezone |
Monolog log channel.
It contains a stack of Handlers and a stack of Processors, and uses them to store records that are added to it.
Definition at line 27 of file Logger.php.
| Monolog\Logger::__construct | ( | $name, | |
| array | $handlers = array(), |
||
| array | $processors = array() |
||
| ) |
| string | $name | The logging channel |
| HandlerInterface[] | $handlers | Optional stack of handlers, the first one in the array is called first, etc. |
| callable[] | $processors | Optional array of processors |
Definition at line 136 of file Logger.php.
| Monolog\Logger::addAlert | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the ALERT level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 355 of file Logger.php.
| Monolog\Logger::addCritical | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the CRITICAL level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 343 of file Logger.php.
| Monolog\Logger::addDebug | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the DEBUG level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 283 of file Logger.php.
References DEBUG.
| Monolog\Logger::addEmergency | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the EMERGENCY level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 367 of file Logger.php.
| Monolog\Logger::addError | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the ERROR level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 331 of file Logger.php.
| Monolog\Logger::addInfo | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the INFO level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 295 of file Logger.php.
| Monolog\Logger::addNotice | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the NOTICE level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 307 of file Logger.php.
| Monolog\Logger::addRecord | ( | $level, | |
| $message, | |||
| array | $context = array() |
||
| ) |
Adds a log record.
| integer | $level | The logging level |
| string | $message | The log message |
| array | $context | The log context |
Definition at line 230 of file Logger.php.
References DEBUG.
| Monolog\Logger::addWarning | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the WARNING level.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 319 of file Logger.php.
| Monolog\Logger::alert | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the ALERT level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 585 of file Logger.php.
| Monolog\Logger::crit | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the CRITICAL level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 557 of file Logger.php.
| Monolog\Logger::critical | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the CRITICAL level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 571 of file Logger.php.
| Monolog\Logger::debug | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the DEBUG level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 459 of file Logger.php.
References DEBUG.
| Monolog\Logger::emerg | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the EMERGENCY level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 599 of file Logger.php.
| Monolog\Logger::emergency | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the EMERGENCY level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 613 of file Logger.php.
| Monolog\Logger::err | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the ERROR level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 529 of file Logger.php.
| Monolog\Logger::error | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the ERROR level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 543 of file Logger.php.
| Monolog\Logger::getHandlers | ( | ) |
Definition at line 180 of file Logger.php.
|
static |
Gets the name of the logging level.
| integer | $level |
Definition at line 388 of file Logger.php.
Referenced by Monolog\Handler\ChromePHPHandler\send(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthArray(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthArrayInfiniteNesting(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthException(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthObjects(), Monolog\Handler\FleepHookHandlerTest\testHandlerUsesLineFormatterWhichIgnoresEmptyArrays(), Monolog\Formatter\MongoDBFormatterTest\testRecursiveFormat(), and Monolog\Formatter\MongoDBFormatterTest\testSimpleFormat().
Here is the caller graph for this function:
|
static |
Gets all supported logging levels.
Definition at line 377 of file Logger.php.
Referenced by Monolog\Handler\FilterHandler\setAcceptedLevels().
Here is the caller graph for this function:| Monolog\Logger::getName | ( | ) |
Definition at line 146 of file Logger.php.
Referenced by Monolog\Registry\addLogger().
Here is the caller graph for this function:| Monolog\Logger::getProcessors | ( | ) |
Definition at line 217 of file Logger.php.
| Monolog\Logger::info | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the INFO level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 473 of file Logger.php.
| Monolog\Logger::isHandling | ( | $level | ) |
Checks whether the Logger has a handler that listens on the given level.
| integer | $level |
Definition at line 418 of file Logger.php.
| Monolog\Logger::log | ( | $level, | |
| $message, | |||
| array | $context = array() |
||
| ) |
Adds a log record at an arbitrary level.
This method allows for compatibility with common interfaces.
| mixed | $level | The log level |
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 443 of file Logger.php.
| Monolog\Logger::notice | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the NOTICE level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 487 of file Logger.php.
| Monolog\Logger::popHandler | ( | ) |
Pops a handler from the stack.
Definition at line 168 of file Logger.php.
| Monolog\Logger::popProcessor | ( | ) |
Removes the processor on top of the stack and returns it.
Definition at line 205 of file Logger.php.
| Monolog\Logger::pushHandler | ( | HandlerInterface | $handler | ) |
Pushes a handler on to the stack.
| HandlerInterface | $handler |
Definition at line 157 of file Logger.php.
| Monolog\Logger::pushProcessor | ( | $callback | ) |
Adds a processor on to the stack.
| callable | $callback |
Definition at line 191 of file Logger.php.
|
static |
Set the timezone to be used for the timestamp of log records.
This is stored globally for all Logger instances
| \DateTimeZone | $tz | Timezone object |
Definition at line 625 of file Logger.php.
References $tz.
|
static |
Converts PSR-3 levels to Monolog ones if necessary.
| string|int | Level number (monolog) or name (PSR-3) |
Definition at line 403 of file Logger.php.
Referenced by Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\__construct(), Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy\__construct(), Monolog\Handler\FingersCrossedHandler\__construct(), Monolog\Processor\GitProcessor\__construct(), Monolog\Processor\IntrospectionProcessor\__construct(), Monolog\Handler\PushoverHandler\__construct(), Monolog\Handler\FilterHandler\setAcceptedLevels(), and Monolog\Handler\AbstractHandler\setLevel().
Here is the caller graph for this function:| Monolog\Logger::warn | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the WARNING level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Definition at line 501 of file Logger.php.
| Monolog\Logger::warning | ( | $message, | |
| array | $context = array() |
||
| ) |
Adds a log record at the WARNING level.
This method allows for compatibility with common interfaces.
| string | $message | The log message |
| array | $context | The log context |
Implements Psr\Log\LoggerInterface.
Definition at line 515 of file Logger.php.
|
protected |
Definition at line 120 of file Logger.php.
|
staticprotected |
Definition at line 94 of file Logger.php.
|
protected |
Definition at line 113 of file Logger.php.
|
protected |
Definition at line 129 of file Logger.php.
|
staticprotected |
Definition at line 108 of file Logger.php.
| const Monolog\Logger::ALERT = 550 |
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
Definition at line 72 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), and Monolog\Handler\FilterHandlerTest\testIsHandling().
| const Monolog\Logger::API = 1 |
Definition at line 87 of file Logger.php.
| const Monolog\Logger::CRITICAL = 500 |
Critical conditions.
Example: Application component unavailable, unexpected exception.
Definition at line 64 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandlerTest\provideBatchRecords(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Handler\HipChatHandlerTest\testCreateWithTooLongNameV2(), Monolog\Formatter\ChromePHPFormatterTest\testFormatWithFileAndLine(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Processor\IntrospectionProcessorTest\testLevelEqual(), Monolog\Processor\IntrospectionProcessorTest\testLevelHigher(), Monolog\Processor\IntrospectionProcessorTest\testLevelTooLow(), Monolog\Handler\HipChatHandlerTest\testRoomSpaces(), Monolog\Handler\LogEntriesHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContentWithEmoji(), Monolog\Handler\SlackHandlerTest\testWriteContentWithPlainTextMessage(), Monolog\Handler\HipChatHandlerTest\testWriteCustomHostHeader(), Monolog\Handler\FlowdockHandlerTest\testWriteHeader(), Monolog\Handler\HipChatHandlerTest\testWriteHeader(), Monolog\Handler\PushoverHandlerTest\testWriteHeader(), Monolog\Handler\SlackHandlerTest\testWriteHeader(), Monolog\Handler\HipChatHandlerTest\testWriteV2(), Monolog\Handler\HipChatHandlerTest\testWriteV2Notify(), Monolog\Handler\HipChatHandlerTest\testWriteWithComplexMessage(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexMessage(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexTitle(), Monolog\Handler\PushoverHandlerTest\testWriteWithHighPriority(), and Monolog\Handler\PushoverHandlerTest\testWriteWithTooLongMessage().
| const Monolog\Logger::DEBUG = 100 |
Detailed debug information.
Definition at line 32 of file Logger.php.
Referenced by Monolog\Handler\FlowdockHandlerTest\createHandler(), Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Handler\LogEntriesHandlerTest\createHandler(), Monolog\Handler\HipChatHandler\getAlertColor(), Monolog\Handler\HipChatHandlerTest\provideBatchRecords(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\BrowserConsoleHandlerTest\testAutolabel(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategyWithPsrLevels(), Monolog\Handler\BrowserConsoleHandlerTest\testConcurrentHandlers(), Monolog\Handler\ChromePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\FirePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\SyslogHandlerTest\testConstruct(), Monolog\Handler\FleepHookHandlerTest\testConstructorSetsExpectedDefaults(), Monolog\Handler\BrowserConsoleHandlerTest\testContext(), Monolog\Handler\GelfHandlerLegacyTest\testDebug(), Monolog\Handler\GelfHandlerTest\testDebug(), Monolog\Handler\RavenHandlerTest\testDebug(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategyWithPsrLevel(), Monolog\Handler\BrowserConsoleHandlerTest\testEscaping(), Monolog\Handler\BufferHandlerTest\testFlush(), Monolog\Formatter\FlowdockFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatchNewlines(), Monolog\Formatter\ChromePHPFormatterTest\testFormatWithoutContext(), Monolog\Handler\GroupHandlerTest\testHandle(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandle(), Monolog\Handler\GroupHandlerTest\testHandleBatch(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleBatch(), Monolog\Handler\RavenHandlerTest\testHandleBatchDoNothingIfRecordsAreBelowLevel(), Monolog\Handler\MailHandlerTest\testHandleBatchNotSendsMailIfMessagesAreBelowLevel(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleBubbling(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimit(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBufferLimit(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimitWithFlushOnOverflow(), Monolog\Handler\BufferHandlerTest\testHandleBuffers(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBuffers(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleIsFalseWhenNotHandled(), Monolog\Handler\BufferHandlerTest\testHandleLevel(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleLowerLevelMessage(), Monolog\Handler\NullHandlerTest\testHandleLowerLevelRecord(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleNotBubbling(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterBeingTriggeredWhenStopBufferingIsDisabled(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterReset(), Monolog\Handler\FleepHookHandlerTest\testHandlerUsesLineFormatterWhichIgnoresEmptyArrays(), Monolog\Handler\AbstractHandlerTest\testHandlesPsrStyleLevels(), Monolog\Handler\FingersCrossedHandlerTest\testHandleStopsBufferingAfterTrigger(), Monolog\Handler\FilterHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\ChromePHPHandlerTest\testHeaders(), Monolog\Handler\FirePHPHandlerTest\testHeaders(), Monolog\Handler\ChromePHPHandlerTest\testHeadersOverflow(), Monolog\Handler\AbstractHandlerTest\testIsHandling(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testIsHandlingAlways(), Monolog\Processor\IntrospectionProcessorTest\testLevelTooLow(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCreationIsLazyWhenUsingCallback(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\BufferHandlerTest\testPropagatesRecordsAtEndOfRequest(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Handler\ErrorLogHandlerTest\testShouldLogMessagesUsingErrorLogFuncion(), Monolog\Handler\BrowserConsoleHandlerTest\testStyling(), Monolog\Handler\NewRelicHandlerTest\testTheAppNameCanBeInjectedFromtheConstructor(), Monolog\Handler\NewRelicHandlerTest\testTheAppNameCanBeOverriddenFromEachLog(), Monolog\Handler\NewRelicHandlerTest\testTheTransactionNameCanBeInjectedFromTheConstructor(), Monolog\Handler\NewRelicHandlerTest\testTheTransactionNameCanBeOverriddenFromEachLog(), and Monolog\Handler\StreamHandlerTest\testWriteLocking().
| const Monolog\Logger::EMERGENCY = 600 |
Urgent alert.
Definition at line 77 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Processor\IntrospectionProcessorTest\testLevelHigher(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCanBeCustomizedGivenLoggedData(), Monolog\Handler\PushoverHandlerTest\testWriteHeader(), Monolog\Handler\PushoverHandlerTest\testWriteToMultipleUsers(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexMessage(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexTitle(), Monolog\Handler\PushoverHandlerTest\testWriteWithEmergencyPriority(), and Monolog\Handler\PushoverHandlerTest\testWriteWithTooLongMessage().
| const Monolog\Logger::ERROR = 400 |
Runtime errors.
Definition at line 57 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandler\getAlertColor(), Monolog\Handler\SlackHandler\getAttachmentColor(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Formatter\WildfireFormatterTest\testBatchFormatThrowException(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategy(), Monolog\Handler\AbstractHandlerTest\testConstructAndGetSet(), Monolog\Formatter\ChromePHPFormatterTest\testDefaultFormat(), Monolog\Formatter\WildfireFormatterTest\testDefaultFormat(), Monolog\Formatter\GelfMessageFormatterTest\testDefaultFormatter(), Monolog\Formatter\LogstashFormatterTest\testDefaultFormatter(), Monolog\Formatter\LogstashFormatterTest\testDefaultFormatterV1(), Monolog\Handler\RavenHandlerTest\testException(), Monolog\Formatter\ElasticaFormatterTest\testFormat(), Monolog\Formatter\GelfMessageFormatterTest\testFormatInvalidFails(), Monolog\Formatter\LogstashFormatterTest\testFormatWithApplicationName(), Monolog\Formatter\LogstashFormatterTest\testFormatWithApplicationNameV1(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithContext(), Monolog\Formatter\LogstashFormatterTest\testFormatWithContext(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithContextContainingException(), Monolog\Formatter\LogstashFormatterTest\testFormatWithContextV1(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithExtra(), Monolog\Formatter\LogstashFormatterTest\testFormatWithExtra(), Monolog\Formatter\LogstashFormatterTest\testFormatWithExtraV1(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\LogstashFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\WildfireFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\LogstashFormatterTest\testFormatWithFileAndLineV1(), Monolog\Formatter\WildfireFormatterTest\testFormatWithoutContext(), Monolog\Handler\ElasticSearchHandlerTest\testHandle(), Monolog\Handler\RavenHandlerTest\testHandleBatchDoNothingIfRecordsAreBelowLevel(), Monolog\Handler\MailHandlerTest\testHandleBatchNotSendsMailIfMessagesAreBelowLevel(), Monolog\Handler\ElasticSearchHandlerTest\testHandleIntegration(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testIsHandlingAlways(), Monolog\Handler\ErrorLogHandlerTest\testShouldLogMessagesUsingErrorLogFuncion(), Monolog\Formatter\WildfireFormatterTest\testTableFormat(), Monolog\Handler\NewRelicHandlerTest\testTheAppNameCanBeInjectedFromtheConstructor(), Monolog\Handler\NewRelicHandlerTest\testTheAppNameCanBeOverriddenFromEachLog(), Monolog\Handler\NewRelicHandlerTest\testTheAppNameIsNullByDefault(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanAddContextParamsToTheNewRelicTrace(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanAddExplodedContextParamsToTheNewRelicTrace(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanAddExplodedExtraParamsToTheNewRelicTrace(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanAddExtraContextAndParamsToTheNewRelicTrace(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanAddExtraParamsToTheNewRelicTrace(), Monolog\Handler\NewRelicHandlerTest\testThehandlerCanHandleTheRecord(), Monolog\Handler\NewRelicHandlerTest\testThehandlerThrowsAnExceptionIfTheNRExtensionIsNotLoaded(), Monolog\Handler\NewRelicHandlerTest\testTheTransactionNameCanBeInjectedFromTheConstructor(), Monolog\Handler\NewRelicHandlerTest\testTheTransactionNameCanBeOverriddenFromEachLog(), and Monolog\Handler\NewRelicHandlerTest\testTheTransactionNameIsNullByDefault().
| const Monolog\Logger::INFO = 200 |
Interesting events.
Examples: User logs in, SQL logs.
Definition at line 39 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandler\getAlertColor(), Monolog\Handler\SlackHandler\getAttachmentColor(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Formatter\ChromePHPFormatterTest\testBatchFormatThrowException(), Monolog\Handler\BufferHandlerTest\testFlush(), Monolog\Handler\GroupHandlerTest\testHandle(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandle(), Monolog\Handler\GroupHandlerTest\testHandleBatch(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleBatch(), Monolog\Handler\RavenHandlerTest\testHandleBatchDoNothingIfRecordsAreBelowLevel(), Monolog\Handler\MailHandlerTest\testHandleBatchNotSendsMailIfMessagesAreBelowLevel(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimit(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBufferLimit(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimitWithFlushOnOverflow(), Monolog\Handler\BufferHandlerTest\testHandleBuffers(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBuffers(), Monolog\Handler\BufferHandlerTest\testHandleLevel(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testHandleRespectsBubble(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterBeingTriggeredWhenStopBufferingIsDisabled(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterReset(), Monolog\Handler\FingersCrossedHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCreationIsLazyWhenUsingCallback(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Handler\RavenHandlerTest\testTag(), and Monolog\Handler\RavenHandlerTest\testUserContext().
| const Monolog\Logger::NOTICE = 250 |
Uncommon events.
Definition at line 44 of file Logger.php.
Referenced by Monolog\Handler\HipChatHandlerTest\provideBatchRecords(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testHandleRespectsBubble(), Monolog\Handler\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\FilterHandlerTest\testIsHandling(), and Monolog\Handler\PHPConsoleHandler\write().
| const Monolog\Logger::WARNING = 300 |
Exceptional occurrences that are not errors.
Examples: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
Definition at line 52 of file Logger.php.
Referenced by Monolog\Handler\FingersCrossedHandler\__construct(), Monolog\Handler\HipChatHandler\getAlertColor(), Monolog\Handler\SlackHandler\getAttachmentColor(), Monolog\Handler\SyslogUdpHandlerTest\getRecordWithMessage(), Monolog\Handler\HipChatHandlerTest\provideBatchRecords(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\ChromePHPHandler\send(), Monolog\Formatter\ChromePHPFormatterTest\testBatchFormatThrowException(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategyWithPsrLevels(), Monolog\Handler\ChromePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\FirePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\AbstractHandlerTest\testConstructAndGetSet(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategyWithPsrLevel(), Monolog\Formatter\FlowdockFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatchNewlines(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthArray(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthArrayInfiniteNesting(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthException(), Monolog\Formatter\MongoDBFormatterTest\testFormatDepthObjects(), Monolog\Handler\CouchDBHandlerTest\testHandle(), Monolog\Handler\DoctrineCouchDBHandlerTest\testHandle(), Monolog\Handler\MongoDBHandlerTest\testHandle(), Monolog\Handler\AmqpHandlerTest\testHandleAmqpExt(), Monolog\Handler\RavenHandlerTest\testHandleBatch(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimit(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBufferLimit(), Monolog\Handler\BufferHandlerTest\testHandleBufferLimitWithFlushOnOverflow(), Monolog\Handler\FingersCrossedHandlerTest\testHandleBuffers(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleException(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleIsFalseWhenNotHandled(), Monolog\Handler\BufferHandlerTest\testHandleLevel(), Monolog\Handler\AbstractProcessingHandlerTest\testHandleLowerLevelMessage(), Monolog\Handler\NullHandlerTest\testHandleLowerLevelRecord(), Monolog\Handler\AmqpHandlerTest\testHandlePhpAmqpLib(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testHandleRespectsBubble(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterBeingTriggeredWhenStopBufferingIsDisabled(), Monolog\Handler\FingersCrossedHandlerTest\testHandleRestartBufferingAfterReset(), Monolog\Handler\FingersCrossedHandlerTest\testHandleStopsBufferingAfterTrigger(), Monolog\Handler\BufferHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FingersCrossedHandlerTest\testHandleUsesProcessors(), Monolog\Handler\GroupHandlerTest\testHandleUsesProcessors(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testHandleWithBadCallbackThrowsException(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithBadCallbackThrowsException(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\ChromePHPHandlerTest\testHeaders(), Monolog\Handler\FirePHPHandlerTest\testHeaders(), Monolog\Handler\ChromePHPHandlerTest\testHeadersOverflow(), Monolog\Handler\GelfHandlerLegacyTest\testInjectedGelfMessageFormatter(), Monolog\Handler\GelfHandlerTest\testInjectedGelfMessageFormatter(), Monolog\Handler\AbstractHandlerTest\testIsHandling(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\RedisHandlerTest\testPredisHandle(), Monolog\Handler\BufferHandlerTest\testPropagatesRecordsAtEndOfRequest(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Formatter\MongoDBFormatterTest\testRecursiveFormat(), Monolog\Handler\RedisHandlerTest\testRedisHandle(), Monolog\Formatter\MongoDBFormatterTest\testSimpleFormat(), Monolog\Handler\GelfHandlerLegacyTest\testWarning(), Monolog\Handler\GelfHandlerTest\testWarning(), Monolog\Handler\RavenHandlerTest\testWarning(), Monolog\Handler\StreamHandlerTest\testWrite(), and Monolog\Handler\SocketHandlerTest\writeRecord().