ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ProcessIdProcessor.php
Go to the documentation of this file.
1
<?
php
2
3
/*
4
* This file is part of the Monolog package.
5
*
6
* (c) Jordi Boggiano <j.boggiano@seld.be>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
Monolog\Processor
;
13
19
class
ProcessIdProcessor
implements
ProcessorInterface
20
{
25
public
function
__invoke
(array $record)
26
{
27
$record[
'extra'
][
'process_id'
] = getmypid();
28
29
return
$record;
30
}
31
}
Monolog\Processor
Definition:
GitProcessor.php:12
Monolog\Processor\ProcessIdProcessor
Adds value of getmypid into records.
Definition:
ProcessIdProcessor.php:19
Monolog\Processor\ProcessIdProcessor\__invoke
__invoke(array $record)
Definition:
ProcessIdProcessor.php:25
php
Monolog\Processor\ProcessorInterface
An optional interface to allow labelling Monolog processors.
Definition:
ProcessorInterface.php:19
libs
composer
vendor
monolog
monolog
src
Monolog
Processor
ProcessIdProcessor.php
Generated on Thu Jan 16 2025 19:01:44 for ILIAS by
1.8.13 (using
Doxyfile
)