You are here

public function JsonLogData::setUid in JSONlog 3.x

Same name and namespace in other branches
  1. 8.2 src/Logger/JsonLogData.php \Drupal\jsonlog\Logger\JsonLogData::setUid()

Set UID of the user associated with the current log entry.

Parameters

int $uid: User account ID.

File

src/Logger/JsonLogData.php, line 152

Class

JsonLogData

Namespace

Drupal\jsonlog\Logger

Code

public function setUid(int $uid) {
  $this->uid = $uid;
}