rfc:property-capture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:property-capture [2023/04/23 21:14] imsoprfc:property-capture [2023/04/23 21:15] (current) imsop
Line 178: Line 178:
    {    {
         public function log($level, string|\Stringable $message, array $context = []): void {         public function log($level, string|\Stringable $message, array $context = []): void {
-            $context[$this->contextKey] = $contextValue;+            $context[$this->contextKey] = $this->contextValue;
             $this->innerLogger->log($level, $message, $context);             $this->innerLogger->log($level, $message, $context);
         }         }
rfc/property-capture.txt · Last modified: 2023/04/23 21:15 by imsop