Created
December 28, 2017 10:23
-
-
Save alahtarin/f46a17774e1c6502304916b892e73429 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Monolog\Processor; | |
use App\Service\RidProvider; | |
/** | |
* Class RidProcessor | |
*/ | |
class RidProcessor | |
{ | |
/** | |
* @param array $record | |
* @return array | |
*/ | |
public function processRecord(array $record) | |
{ | |
return array_merge_recursive($record, ['context' => ['rid' => RidProvider::getRid()]]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment