src/Message/MessageFactory.php
public function setDefaultProperty(string $name, $value): void
    {
        $this->validateProperty($name, $value);

        $this->logProperties[$name] = $value;
    }
public function setDefaultProperty(string $name, $value): void
    {
        $this->validateProperty($name, $value);

        $this->logProperties[$name] = $value;
    }
public function setDefaultProperty ( string $ name , $ value ) : void { $ this -> validateProperty ( $ name , $ value ) ; $ this -> logProperties [ $ name ] = $ value ; }
Set a property that will be attached to all log messages.

@param string $name
@param mixed $value

@return void
Set a property that will be attached to all log messages .