public function JsonLogData::setClient_ip in JSONlog 8
Same name and namespace in other branches
- 8.2 src/Logger/JsonLogData.php \Drupal\jsonlog\Logger\JsonLogData::setClient_ip()
- 3.x src/Logger/JsonLogData.php \Drupal\jsonlog\Logger\JsonLogData::setClient_ip()
Parameters
string $ip:
File
- src/
Logger/ JsonLogData.php, line 176
Class
Namespace
Drupal\jsonlog\LoggerCode
public function setClient_ip($ip) {
$this->client_ip = mb_substr($ip, 0, 128);
}