MediaWiki master
MediaWiki\Logger\Monolog\BufferHandler Class Reference

Helper class for the index.php entry point. More...

Inherits BaseBufferHandler.

Collaboration diagram for MediaWiki\Logger\Monolog\BufferHandler:

Public Member Functions

 handle (array $record)
 

Detailed Description

Helper class for the index.php entry point.

Updates \Monolog\Handler\BufferHandler to use DeferredUpdates rather than register_shutdown_function. On supported platforms this will use register_postsend_function or fastcgi_finish_request() to delay until after the request has shutdown and we are no longer delaying the web request.

TODO: shutdown is later than postsend. Is this class still useful?

Since
1.26

Definition at line 40 of file BufferHandler.php.

Member Function Documentation

◆ handle()

MediaWiki\Logger\Monolog\BufferHandler::handle ( array $record)

Definition at line 44 of file BufferHandler.php.


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