ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($name, array $handlers=array(), array $processors=array()) | |
getName () | |
withName ($name) | |
Return a new cloned instance with the name changed. More... | |
pushHandler (HandlerInterface $handler) | |
Pushes a handler on to the stack. More... | |
popHandler () | |
Pops a handler from the stack. More... | |
setHandlers (array $handlers) | |
Set handlers, replacing all existing ones. 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 () | |
useMicrosecondTimestamps ($micro) | |
Control the use of microsecond resolution timestamps in the 'datetime' member of new records. More... | |
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... | |
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 | |
$microsecondTimestamps = true | |
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.
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 141 of file Logger.php.
References $name.
Adds a log record at the ALERT level.
string | $message | The log message |
array | $context | The log context |
Definition at line 425 of file Logger.php.
References $message.
Adds a log record at the CRITICAL level.
string | $message | The log message |
array | $context | The log context |
Definition at line 413 of file Logger.php.
References $message.
Adds a log record at the DEBUG level.
string | $message | The log message |
array | $context | The log context |
Definition at line 353 of file Logger.php.
References $message, and DEBUG.
Adds a log record at the EMERGENCY level.
string | $message | The log message |
array | $context | The log context |
Definition at line 437 of file Logger.php.
References $message.
Adds a log record at the ERROR level.
string | $message | The log message |
array | $context | The log context |
Definition at line 401 of file Logger.php.
References $message.
Adds a log record at the INFO level.
string | $message | The log message |
array | $context | The log context |
Definition at line 365 of file Logger.php.
References $message.
Adds a log record at the NOTICE level.
string | $message | The log message |
array | $context | The log context |
Definition at line 377 of file Logger.php.
References $message.
Adds a log record.
int | $level | The logging level |
string | $message | The log message |
array | $context | The log context |
Definition at line 286 of file Logger.php.
References $handler, $message, array, and DEBUG.
Adds a log record at the WARNING level.
string | $message | The log message |
array | $context | The log context |
Definition at line 389 of file Logger.php.
References $message.
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 655 of file Logger.php.
References $message.
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 627 of file Logger.php.
References $message.
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 641 of file Logger.php.
References $message.
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 529 of file Logger.php.
References $message, and DEBUG.
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 669 of file Logger.php.
References $message.
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 683 of file Logger.php.
References $message.
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 599 of file Logger.php.
References $message.
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 613 of file Logger.php.
References $message.
Monolog\Logger::getHandlers | ( | ) |
Definition at line 217 of file Logger.php.
|
static |
Gets the name of the logging level.
int | $level |
Definition at line 458 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().
|
static |
Gets all supported logging levels.
Definition at line 447 of file Logger.php.
Referenced by Monolog\Handler\FilterHandler\setAcceptedLevels().
Monolog\Logger::getName | ( | ) |
Definition at line 151 of file Logger.php.
References $name.
Referenced by Monolog\Registry\addLogger().
Monolog\Logger::getProcessors | ( | ) |
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 543 of file Logger.php.
References $message.
Monolog\Logger::isHandling | ( | $level | ) |
Checks whether the Logger has a handler that listens on the given level.
int | $level |
Definition at line 488 of file Logger.php.
References $handler, and 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 513 of file Logger.php.
References $message.
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 557 of file Logger.php.
References $message.
Monolog\Logger::popHandler | ( | ) |
Monolog\Logger::popProcessor | ( | ) |
Removes the processor on top of the stack and returns it.
Definition at line 243 of file Logger.php.
Monolog\Logger::pushHandler | ( | HandlerInterface | $handler | ) |
Pushes a handler on to the stack.
HandlerInterface | $handler |
Definition at line 175 of file Logger.php.
Monolog\Logger::pushProcessor | ( | $callback | ) |
Adds a processor on to the stack.
callable | $callback |
Definition at line 228 of file Logger.php.
Monolog\Logger::setHandlers | ( | array | $handlers | ) |
Set handlers, replacing all existing ones.
If a map is passed, keys will be ignored.
HandlerInterface[] | $handlers |
Definition at line 204 of file Logger.php.
References $handler, and array.
|
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 695 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 473 of file Logger.php.
References defined.
Referenced by Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\__construct(), Monolog\Processor\GitProcessor\__construct(), Monolog\Processor\IntrospectionProcessor\__construct(), Monolog\Handler\FingersCrossed\ChannelLevelActivationStrategy\__construct(), Monolog\Handler\FingersCrossedHandler\__construct(), Monolog\Handler\DeduplicationHandler\__construct(), Monolog\Handler\PushoverHandler\__construct(), Monolog\Handler\FilterHandler\setAcceptedLevels(), and Monolog\Handler\AbstractHandler\setLevel().
Monolog\Logger::useMicrosecondTimestamps | ( | $micro | ) |
Control the use of microsecond resolution timestamps in the 'datetime' member of new records.
Generating microsecond resolution timestamps by calling microtime(true), formatting the result via sprintf() and then parsing the resulting string via ::createFromFormat() can incur a measurable runtime overhead vs simple usage of DateTime to capture a second resolution timestamp in systems which generate a large number of log events.
bool | $micro | True to use microtime() to create timestamps |
Definition at line 273 of file Logger.php.
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 571 of file Logger.php.
References $message.
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 585 of file Logger.php.
References $message.
Monolog\Logger::withName | ( | $name | ) |
Return a new cloned instance with the name changed.
Definition at line 161 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 134 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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Handler\HipChatHandlerTest\testCreateWithTooLongNameV2(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfEmptyLog(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfLogTooOld(), Monolog\Handler\DeduplicationHandlerTest\testFlushSkipsIfLogExists(), Monolog\Formatter\ChromePHPFormatterTest\testFormatWithFileAndLine(), Monolog\Handler\DeduplicationHandlerTest\testGcOldLogs(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\HipChatHandlerTest\testRoomSpaces(), Monolog\Handler\LogEntriesHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContentUsesFormatterIfProvided(), Monolog\Handler\HipChatHandlerTest\testWriteContentV1WithoutName(), Monolog\Handler\HipChatHandlerTest\testWriteContentV2WithoutName(), Monolog\Handler\SlackHandlerTest\testWriteContentWithEmoji(), Monolog\Handler\SlackHandlerTest\testWriteContentWithPlainTextMessage(), Monolog\Handler\HipChatHandlerTest\testWriteCustomHostHeader(), Monolog\Handler\HipChatHandlerTest\testWriteHeader(), Monolog\Handler\PushoverHandlerTest\testWriteHeader(), Monolog\Handler\SlackHandlerTest\testWriteHeader(), Monolog\Handler\FlowdockHandlerTest\testWriteHeader(), Monolog\Handler\HipChatHandlerTest\testWriteTruncatesLongMessage(), Monolog\Handler\HipChatHandlerTest\testWriteV2(), Monolog\Handler\HipChatHandlerTest\testWriteV2Notify(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexMessage(), Monolog\Handler\HipChatHandlerTest\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\DeduplicationHandler\__construct(), Monolog\Handler\LogEntriesHandlerTest\createHandler(), Monolog\Handler\FlowdockHandlerTest\createHandler(), Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Handler\HipChatHandler\getAlertColor(), Monolog\Handler\HipChatHandlerTest\provideBatchRecords(), Monolog\Handler\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\BrowserConsoleHandlerTest\testAutolabel(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategyWithPsrLevels(), Monolog\Handler\FirePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\ChromePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\BrowserConsoleHandlerTest\testConcurrentHandlers(), Monolog\Handler\SyslogHandlerTest\testConstruct(), Monolog\Handler\FleepHookHandlerTest\testConstructorSetsExpectedDefaults(), Monolog\Handler\BrowserConsoleHandlerTest\testContext(), Monolog\Handler\GelfHandlerTest\testDebug(), Monolog\Handler\GelfHandlerLegacyTest\testDebug(), Monolog\Handler\RavenHandlerTest\testDebug(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategyWithPsrLevel(), Monolog\Handler\BrowserConsoleHandlerTest\testEscaping(), Monolog\Handler\BufferHandlerTest\testFlush(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfAllRecordsUnderTrigger(), Monolog\Formatter\FlowdockFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatch(), Monolog\Formatter\JsonFormatterTest\testFormatBatchNewlines(), Monolog\Formatter\ChromePHPFormatterTest\testFormatWithoutContext(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandle(), Monolog\Handler\GroupHandlerTest\testHandle(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleBatch(), Monolog\Handler\GroupHandlerTest\testHandleBatch(), Monolog\Handler\RavenHandlerTest\testHandleBatchDoNothingIfRecordsAreBelowLevel(), Monolog\Handler\MailHandlerTest\testHandleBatchNotSendsMailIfMessagesAreBelowLevel(), Monolog\Handler\GroupHandlerTest\testHandleBatchUsesProcessors(), 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\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\ChromePHPHandlerTest\testHeaders(), Monolog\Handler\FirePHPHandlerTest\testHeaders(), Monolog\Handler\ChromePHPHandlerTest\testHeadersOverflow(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\AbstractHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testIsHandlingAlways(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCreationIsLazyWhenUsingCallback(), Monolog\Handler\FingersCrossedHandlerTest\testOverrideActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\RedisHandlerTest\testPredisHandleCapped(), Monolog\Handler\BufferHandlerTest\testPropagatesRecordsAtEndOfRequest(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Handler\RedisHandlerTest\testRedisHandleCapped(), 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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Handler\FilterHandlerTest\testHandleProcessOnlyNeededLevels(), Monolog\Handler\FilterHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCanBeCustomizedGivenLoggedData(), Monolog\Handler\SwiftMailerHandlerTest\testMessageSubjectFormatting(), Monolog\Handler\PushoverHandlerTest\testWriteHeader(), Monolog\Handler\PushoverHandlerTest\testWriteToMultipleUsers(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexMessage(), 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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\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\Handler\DeduplicationHandlerTest\testFlushPassthruIfEmptyLog(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfLogTooOld(), Monolog\Handler\DeduplicationHandlerTest\testFlushSkipsIfLogExists(), Monolog\Formatter\ElasticaFormatterTest\testFormat(), Monolog\Formatter\GelfMessageFormatterTest\testFormatInvalidFails(), Monolog\Formatter\LogstashFormatterTest\testFormatWithApplicationName(), Monolog\Formatter\LogstashFormatterTest\testFormatWithApplicationNameV1(), Monolog\Formatter\LogstashFormatterTest\testFormatWithContext(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithContext(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithContextContainingException(), Monolog\Formatter\LogstashFormatterTest\testFormatWithContextV1(), Monolog\Formatter\LogstashFormatterTest\testFormatWithExtra(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithExtra(), Monolog\Formatter\LogstashFormatterTest\testFormatWithExtraV1(), Monolog\Formatter\WildfireFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\LogstashFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithFileAndLine(), Monolog\Formatter\LogstashFormatterTest\testFormatWithFileAndLineV1(), Monolog\Formatter\GelfMessageFormatterTest\testFormatWithLargeData(), Monolog\Formatter\LogstashFormatterTest\testFormatWithLatin9Data(), Monolog\Formatter\WildfireFormatterTest\testFormatWithoutContext(), Monolog\Formatter\FluentdFormatterTest\testFormatWithTag(), Monolog\Handler\DeduplicationHandlerTest\testGcOldLogs(), 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\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testIsHandlingAlways(), Monolog\Handler\NativeMailerHandlerTest\testMessageSubjectFormatting(), Monolog\Handler\NativeMailerHandlerTest\testSend(), 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\testThehandlerCanHandleTheRecordsFormattedUsingTheLineFormatter(), 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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\FilterHandlerTest\testAcceptedLevelApi(), Monolog\Formatter\ChromePHPFormatterTest\testBatchFormatThrowException(), Monolog\Handler\RavenHandlerTest\testExtraParameters(), Monolog\Handler\RavenHandlerTest\testFingerprint(), Monolog\Handler\BufferHandlerTest\testFlush(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfAllRecordsUnderTrigger(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandle(), Monolog\Handler\GroupHandlerTest\testHandle(), Monolog\Handler\WhatFailureGroupHandlerTest\testHandleBatch(), Monolog\Handler\GroupHandlerTest\testHandleBatch(), Monolog\Handler\RavenHandlerTest\testHandleBatchDoNothingIfRecordsAreBelowLevel(), Monolog\Handler\MailHandlerTest\testHandleBatchNotSendsMailIfMessagesAreBelowLevel(), Monolog\Handler\GroupHandlerTest\testHandleBatchUsesProcessors(), 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\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\SwiftMailerHandlerTest\testMessageCreationIsLazyWhenUsingCallback(), Monolog\Handler\FingersCrossedHandlerTest\testOverrideActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Handler\RavenHandlerTest\testRelease(), 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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\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\SlackHandlerTest\provideLevelColors(), Monolog\Handler\HipChatHandlerTest\provideLevelColors(), Monolog\Handler\ChromePHPHandler\send(), Monolog\Formatter\ChromePHPFormatterTest\testBatchFormatThrowException(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testChannelLevelActivationStrategyWithPsrLevels(), Monolog\Handler\StreamHandlerTest\testClose(), Monolog\Handler\FirePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\ChromePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\AbstractHandlerTest\testConstructAndGetSet(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategy(), Monolog\Handler\FingersCrossedHandlerTest\testErrorLevelActivationStrategyWithPsrLevel(), Monolog\Formatter\FluentdFormatterTest\testFormat(), 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\WhatFailureGroupHandlerTest\testHandleUsesProcessors(), Monolog\Handler\GroupHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FilterHandlerTest\testHandleUsesProcessors(), Monolog\Handler\BufferHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FingersCrossedHandlerTest\testHandleUsesProcessors(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithBadCallbackThrowsException(), Monolog\Handler\FilterHandlerTest\testHandleWithBadCallbackThrowsException(), Monolog\Handler\FingersCrossedHandlerTest\testHandleWithCallback(), Monolog\Handler\FirePHPHandlerTest\testHeaders(), Monolog\Handler\ChromePHPHandlerTest\testHeaders(), Monolog\Handler\ChromePHPHandlerTest\testHeadersOverflow(), Monolog\Handler\GelfHandlerLegacyTest\testInjectedGelfMessageFormatter(), Monolog\Handler\GelfHandlerTest\testInjectedGelfMessageFormatter(), Monolog\Handler\FilterHandlerTest\testIsHandling(), Monolog\Handler\AbstractHandlerTest\testIsHandling(), Monolog\Handler\GroupHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\testIsHandling(), Monolog\Handler\FingersCrossedHandlerTest\testPassthruOnClose(), Monolog\Handler\RedisHandlerTest\testPredisHandle(), Monolog\Handler\RedisHandlerTest\testPredisHandleCapped(), Monolog\Handler\BufferHandlerTest\testPropagatesRecordsAtEndOfRequest(), Monolog\Handler\FingersCrossedHandlerTest\testPsrLevelPassthruOnClose(), Monolog\Formatter\MongoDBFormatterTest\testRecursiveFormat(), Monolog\Handler\RedisHandlerTest\testRedisHandle(), Monolog\Handler\RedisHandlerTest\testRedisHandleCapped(), Monolog\Formatter\MongoDBFormatterTest\testSimpleFormat(), Monolog\Handler\RavenHandlerTest\testWarning(), Monolog\Handler\GelfHandlerLegacyTest\testWarning(), Monolog\Handler\GelfHandlerTest\testWarning(), Monolog\Handler\StreamHandlerTest\testWrite(), and Monolog\Handler\SocketHandlerTest\writeRecord().