ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Monolog\Processor\ProcessIdProcessor Class Reference

Adds value of getmypid into records. More...

+ Inheritance diagram for Monolog\Processor\ProcessIdProcessor:
+ 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

Implements Monolog\Processor\ProcessorInterface.

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: