ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Monolog\Processor\ProcessIdProcessor Class Reference

Adds value of getmypid into records. More...

+ Collaboration diagram for Monolog\Processor\ProcessIdProcessor:

Public Member Functions

 __invoke (array $record)
 

Detailed Description

Adds value of getmypid into records.

Author
Andreas Hörnicke

Definition at line 19 of file ProcessIdProcessor.php.

Member Function Documentation

◆ __invoke()

Monolog\Processor\ProcessIdProcessor::__invoke ( array  $record)
Parameters
array$record
Returns
array

Definition at line 25 of file ProcessIdProcessor.php.

26  {
27  $record['extra']['process_id'] = getmypid();
28 
29  return $record;
30  }

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