MediaWiki  1.32.5
MediaWiki\Logger\Monolog\BufferHandler Class Reference

Updates \Monolog\Handler\BufferHandler to use DeferredUpdates rather than register_shutdown_function. More...

Inheritance diagram for MediaWiki\Logger\Monolog\BufferHandler:
Collaboration diagram for MediaWiki\Logger\Monolog\BufferHandler:

Public Member Functions

 handle (array $record)
 @inheritDoc More...
 

Detailed Description

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.

Definition at line 35 of file BufferHandler.php.

Member Function Documentation

◆ handle()

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

@inheritDoc

Definition at line 39 of file BufferHandler.php.

References DeferredUpdates\addCallableUpdate().


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