ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Monolog\Logger Class Reference

Monolog log channel. More...

+ Inheritance diagram for Monolog\Logger:
+ Collaboration diagram for Monolog\Logger:

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...
 
 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
 
 $microsecondTimestamps = true
 

Static Protected Attributes

static $levels
 
static $timezone
 

Detailed Description

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.

Author
Jordi Boggiano j.bog.nosp@m.gian.nosp@m.o@sel.nosp@m.d.be

Definition at line 27 of file Logger.php.

Constructor & Destructor Documentation

◆ __construct()

Monolog\Logger::__construct (   $name,
array  $handlers = array(),
array  $processors = array() 
)
Parameters
string$nameThe logging channel
HandlerInterface[]$handlersOptional stack of handlers, the first one in the array is called first, etc.
callable[]$processorsOptional array of processors

Definition at line 141 of file Logger.php.

142 {
143 $this->name = $name;
144 $this->handlers = $handlers;
145 $this->processors = $processors;
146 }

References $name.

Member Function Documentation

◆ addAlert()

Monolog\Logger::addAlert (   $message,
array  $context = array() 
)

Adds a log record at the ALERT level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 425 of file Logger.php.

426 {
427 return $this->addRecord(static::ALERT, $message, $context);
428 }
addRecord($level, $message, array $context=array())
Adds a log record.
Definition: Logger.php:286
catch(Exception $e) $message

References $message.

◆ addCritical()

Monolog\Logger::addCritical (   $message,
array  $context = array() 
)

Adds a log record at the CRITICAL level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 413 of file Logger.php.

414 {
415 return $this->addRecord(static::CRITICAL, $message, $context);
416 }

References $message.

◆ addDebug()

Monolog\Logger::addDebug (   $message,
array  $context = array() 
)

Adds a log record at the DEBUG level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 353 of file Logger.php.

354 {
355 return $this->addRecord(static::DEBUG, $message, $context);
356 }
const DEBUG

References $message, and DEBUG.

◆ addEmergency()

Monolog\Logger::addEmergency (   $message,
array  $context = array() 
)

Adds a log record at the EMERGENCY level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 437 of file Logger.php.

438 {
439 return $this->addRecord(static::EMERGENCY, $message, $context);
440 }

References $message.

◆ addError()

Monolog\Logger::addError (   $message,
array  $context = array() 
)

Adds a log record at the ERROR level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 401 of file Logger.php.

402 {
403 return $this->addRecord(static::ERROR, $message, $context);
404 }

References $message.

◆ addInfo()

Monolog\Logger::addInfo (   $message,
array  $context = array() 
)

Adds a log record at the INFO level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 365 of file Logger.php.

366 {
367 return $this->addRecord(static::INFO, $message, $context);
368 }

References $message.

◆ addNotice()

Monolog\Logger::addNotice (   $message,
array  $context = array() 
)

Adds a log record at the NOTICE level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 377 of file Logger.php.

378 {
379 return $this->addRecord(static::NOTICE, $message, $context);
380 }

References $message.

◆ addRecord()

Monolog\Logger::addRecord (   $level,
  $message,
array  $context = array() 
)

Adds a log record.

Parameters
int$levelThe logging level
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 286 of file Logger.php.

287 {
288 if (!$this->handlers) {
289 $this->pushHandler(new StreamHandler('php://stderr', static::DEBUG));
290 }
291
292 $levelName = static::getLevelName($level);
293
294 // check if any handler will handle this message so we can return early and save cycles
295 $handlerKey = null;
296 reset($this->handlers);
297 while ($handler = current($this->handlers)) {
298 if ($handler->isHandling(array('level' => $level))) {
299 $handlerKey = key($this->handlers);
300 break;
301 }
302
303 next($this->handlers);
304 }
305
306 if (null === $handlerKey) {
307 return false;
308 }
309
310 if (!static::$timezone) {
311 static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC');
312 }
313
314 if ($this->microsecondTimestamps) {
315 $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone);
316 } else {
317 $ts = new \DateTime(null, static::$timezone);
318 }
319 $ts->setTimezone(static::$timezone);
320
321 $record = array(
322 'message' => (string) $message,
323 'context' => $context,
324 'level' => $level,
325 'level_name' => $levelName,
326 'channel' => $this->name,
327 'datetime' => $ts,
328 'extra' => array(),
329 );
330
331 foreach ($this->processors as $processor) {
332 $record = call_user_func($processor, $record);
333 }
334
335 while ($handler = current($this->handlers)) {
336 if (true === $handler->handle($record)) {
337 break;
338 }
339
340 next($this->handlers);
341 }
342
343 return true;
344 }
sprintf('%.4f', $callTime)
pushHandler(HandlerInterface $handler)
Pushes a handler on to the stack.
Definition: Logger.php:175
$handler

References $handler, $message, DEBUG, and sprintf.

◆ addWarning()

Monolog\Logger::addWarning (   $message,
array  $context = array() 
)

Adds a log record at the WARNING level.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 389 of file Logger.php.

390 {
391 return $this->addRecord(static::WARNING, $message, $context);
392 }

References $message.

◆ alert()

Monolog\Logger::alert (   $message,
array  $context = array() 
)

Adds a log record at the ALERT level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 655 of file Logger.php.

656 {
657 return $this->addRecord(static::ALERT, $message, $context);
658 }

References $message.

◆ crit()

Monolog\Logger::crit (   $message,
array  $context = array() 
)

Adds a log record at the CRITICAL level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 627 of file Logger.php.

628 {
629 return $this->addRecord(static::CRITICAL, $message, $context);
630 }

References $message.

◆ critical()

Monolog\Logger::critical (   $message,
array  $context = array() 
)

Adds a log record at the CRITICAL level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 641 of file Logger.php.

642 {
643 return $this->addRecord(static::CRITICAL, $message, $context);
644 }

References $message.

◆ debug()

Monolog\Logger::debug (   $message,
array  $context = array() 
)

Adds a log record at the DEBUG level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 529 of file Logger.php.

530 {
531 return $this->addRecord(static::DEBUG, $message, $context);
532 }

References $message, and DEBUG.

◆ emerg()

Monolog\Logger::emerg (   $message,
array  $context = array() 
)

Adds a log record at the EMERGENCY level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 669 of file Logger.php.

670 {
671 return $this->addRecord(static::EMERGENCY, $message, $context);
672 }

References $message.

◆ emergency()

Monolog\Logger::emergency (   $message,
array  $context = array() 
)

Adds a log record at the EMERGENCY level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 683 of file Logger.php.

684 {
685 return $this->addRecord(static::EMERGENCY, $message, $context);
686 }

References $message.

◆ err()

Monolog\Logger::err (   $message,
array  $context = array() 
)

Adds a log record at the ERROR level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 599 of file Logger.php.

600 {
601 return $this->addRecord(static::ERROR, $message, $context);
602 }

References $message.

◆ error()

Monolog\Logger::error (   $message,
array  $context = array() 
)

Adds a log record at the ERROR level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 613 of file Logger.php.

614 {
615 return $this->addRecord(static::ERROR, $message, $context);
616 }

References $message.

◆ getHandlers()

Monolog\Logger::getHandlers ( )
Returns
HandlerInterface[]

Definition at line 217 of file Logger.php.

218 {
219 return $this->handlers;
220 }

◆ getLevelName()

static Monolog\Logger::getLevelName (   $level)
static

Gets the name of the logging level.

Parameters
int$level
Returns
string

Definition at line 458 of file Logger.php.

459 {
460 if (!isset(static::$levels[$level])) {
461 throw new InvalidArgumentException('Level "'.$level.'" is not defined, use one of: '.implode(', ', array_keys(static::$levels)));
462 }
463
464 return static::$levels[$level];
465 }

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:

◆ getLevels()

static Monolog\Logger::getLevels ( )
static

Gets all supported logging levels.

Returns
array Assoc array with human-readable level names => level codes.

Definition at line 447 of file Logger.php.

448 {
449 return array_flip(static::$levels);
450 }

Referenced by Monolog\Handler\FilterHandler\setAcceptedLevels().

+ Here is the caller graph for this function:

◆ getName()

Monolog\Logger::getName ( )
Returns
string

Definition at line 151 of file Logger.php.

152 {
153 return $this->name;
154 }

References $name.

Referenced by Monolog\Registry\addLogger().

+ Here is the caller graph for this function:

◆ getProcessors()

Monolog\Logger::getProcessors ( )
Returns
callable[]

Definition at line 255 of file Logger.php.

256 {
257 return $this->processors;
258 }

◆ info()

Monolog\Logger::info (   $message,
array  $context = array() 
)

Adds a log record at the INFO level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 543 of file Logger.php.

544 {
545 return $this->addRecord(static::INFO, $message, $context);
546 }

References $message.

◆ isHandling()

Monolog\Logger::isHandling (   $level)

Checks whether the Logger has a handler that listens on the given level.

Parameters
int$level
Returns
Boolean

Definition at line 488 of file Logger.php.

489 {
490 $record = array(
491 'level' => $level,
492 );
493
494 foreach ($this->handlers as $handler) {
495 if ($handler->isHandling($record)) {
496 return true;
497 }
498 }
499
500 return false;
501 }

References $handler.

◆ log()

Monolog\Logger::log (   $level,
  $message,
array  $context = array() 
)

Adds a log record at an arbitrary level.

This method allows for compatibility with common interfaces.

Parameters
mixed$levelThe log level
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 513 of file Logger.php.

514 {
515 $level = static::toMonologLevel($level);
516
517 return $this->addRecord($level, $message, $context);
518 }

References $message.

◆ notice()

Monolog\Logger::notice (   $message,
array  $context = array() 
)

Adds a log record at the NOTICE level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 557 of file Logger.php.

558 {
559 return $this->addRecord(static::NOTICE, $message, $context);
560 }

References $message.

◆ popHandler()

Monolog\Logger::popHandler ( )

Pops a handler from the stack.

Returns
HandlerInterface

Definition at line 187 of file Logger.php.

188 {
189 if (!$this->handlers) {
190 throw new \LogicException('You tried to pop from an empty handler stack.');
191 }
192
193 return array_shift($this->handlers);
194 }

◆ popProcessor()

Monolog\Logger::popProcessor ( )

Removes the processor on top of the stack and returns it.

Returns
callable

Definition at line 243 of file Logger.php.

244 {
245 if (!$this->processors) {
246 throw new \LogicException('You tried to pop from an empty processor stack.');
247 }
248
249 return array_shift($this->processors);
250 }

◆ pushHandler()

Monolog\Logger::pushHandler ( HandlerInterface  $handler)

Pushes a handler on to the stack.

Parameters
HandlerInterface$handler
Returns
$this

Definition at line 175 of file Logger.php.

176 {
177 array_unshift($this->handlers, $handler);
178
179 return $this;
180 }

References $handler.

◆ pushProcessor()

Monolog\Logger::pushProcessor (   $callback)

Adds a processor on to the stack.

Parameters
callable$callback
Returns
$this

Definition at line 228 of file Logger.php.

229 {
230 if (!is_callable($callback)) {
231 throw new \InvalidArgumentException('Processors must be valid callables (callback or object with an __invoke method), '.var_export($callback, true).' given');
232 }
233 array_unshift($this->processors, $callback);
234
235 return $this;
236 }

◆ setHandlers()

Monolog\Logger::setHandlers ( array  $handlers)

Set handlers, replacing all existing ones.

If a map is passed, keys will be ignored.

Parameters
HandlerInterface[]$handlers
Returns
$this

Definition at line 204 of file Logger.php.

205 {
206 $this->handlers = array();
207 foreach (array_reverse($handlers) as $handler) {
208 $this->pushHandler($handler);
209 }
210
211 return $this;
212 }

References $handler.

◆ setTimezone()

static Monolog\Logger::setTimezone ( \DateTimeZone  $tz)
static

Set the timezone to be used for the timestamp of log records.

This is stored globally for all Logger instances

Parameters
\DateTimeZone$tzTimezone object

Definition at line 695 of file Logger.php.

696 {
697 self::$timezone = $tz;
698 }

References $tz.

◆ toMonologLevel()

static Monolog\Logger::toMonologLevel (   $level)
static

Converts PSR-3 levels to Monolog ones if necessary.

Parameters
string|intLevel number (monolog) or name (PSR-3)
Returns
int

Definition at line 473 of file Logger.php.

474 {
475 if (is_string($level) && defined(__CLASS__.'::'.strtoupper($level))) {
476 return constant(__CLASS__.'::'.strtoupper($level));
477 }
478
479 return $level;
480 }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

References defined.

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\DeduplicationHandler\__construct(), Monolog\Handler\FilterHandler\setAcceptedLevels(), and Monolog\Handler\AbstractHandler\setLevel().

+ Here is the caller graph for this function:

◆ useMicrosecondTimestamps()

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 \DateTime::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.

Parameters
bool$microTrue to use microtime() to create timestamps

Definition at line 273 of file Logger.php.

274 {
275 $this->microsecondTimestamps = (bool) $micro;
276 }

◆ warn()

Monolog\Logger::warn (   $message,
array  $context = array() 
)

Adds a log record at the WARNING level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Definition at line 571 of file Logger.php.

572 {
573 return $this->addRecord(static::WARNING, $message, $context);
574 }

References $message.

◆ warning()

Monolog\Logger::warning (   $message,
array  $context = array() 
)

Adds a log record at the WARNING level.

This method allows for compatibility with common interfaces.

Parameters
string$messageThe log message
array$contextThe log context
Returns
Boolean Whether the record has been processed

Implements Psr\Log\LoggerInterface.

Definition at line 585 of file Logger.php.

586 {
587 return $this->addRecord(static::WARNING, $message, $context);
588 }

References $message.

◆ withName()

Monolog\Logger::withName (   $name)

Return a new cloned instance with the name changed.

Returns
static

Definition at line 161 of file Logger.php.

162 {
163 $new = clone $this;
164 $new->name = $name;
165
166 return $new;
167 }

References $name, and $new.

Field Documentation

◆ $handlers

Monolog\Logger::$handlers
protected

Definition at line 120 of file Logger.php.

◆ $levels

Monolog\Logger::$levels
staticprotected
Initial value:
= array(
self::DEBUG => 'DEBUG',
self::INFO => 'INFO',
self::NOTICE => 'NOTICE',
self::WARNING => 'WARNING',
self::ERROR => 'ERROR',
self::CRITICAL => 'CRITICAL',
self::ALERT => 'ALERT',
self::EMERGENCY => 'EMERGENCY',
)

Definition at line 94 of file Logger.php.

◆ $microsecondTimestamps

Monolog\Logger::$microsecondTimestamps = true
protected

Definition at line 134 of file Logger.php.

◆ $name

Monolog\Logger::$name
protected

Definition at line 113 of file Logger.php.

◆ $processors

Monolog\Logger::$processors
protected

Definition at line 129 of file Logger.php.

◆ $timezone

Monolog\Logger::$timezone
staticprotected

Definition at line 108 of file Logger.php.

◆ ALERT

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().

◆ API

const Monolog\Logger::API = 1

Definition at line 87 of file Logger.php.

◆ CRITICAL

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\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\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\testWriteContentUsesFormatterIfProvided(), Monolog\Handler\HipChatHandlerTest\testWriteContentV1WithoutName(), Monolog\Handler\HipChatHandlerTest\testWriteContentV2WithoutName(), 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\testWriteTruncatesLongMessage(), 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().

◆ DEBUG

const Monolog\Logger::DEBUG = 100

Detailed debug information.

Definition at line 32 of file Logger.php.

Referenced by Monolog\Handler\DeduplicationHandler\__construct(), 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\Handler\DeduplicationHandlerTest\testFlushPassthruIfAllRecordsUnderTrigger(), 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\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\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\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().

◆ EMERGENCY

◆ ERROR

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\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\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\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\GroupHandlerTest\testIsHandling(), Monolog\Handler\WhatFailureGroupHandlerTest\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().

◆ INFO

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\RavenHandlerTest\testExtraParameters(), Monolog\Handler\RavenHandlerTest\testFingerprint(), Monolog\Handler\BufferHandlerTest\testFlush(), Monolog\Handler\DeduplicationHandlerTest\testFlushPassthruIfAllRecordsUnderTrigger(), 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\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\FilterHandlerTest\testHandleWithCallback(), Monolog\Handler\FingersCrossedHandlerTest\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().

◆ NOTICE

◆ WARNING

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\StreamHandlerTest\testClose(), Monolog\Handler\ChromePHPHandlerTest\testConcurrentHandlers(), Monolog\Handler\FirePHPHandlerTest\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\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\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\GelfHandlerLegacyTest\testWarning(), Monolog\Handler\GelfHandlerTest\testWarning(), Monolog\Handler\RavenHandlerTest\testWarning(), Monolog\Handler\StreamHandlerTest\testWrite(), and Monolog\Handler\SocketHandlerTest\writeRecord().


The documentation for this class was generated from the following file: