You are here

public function LogMessage::getLocation in File Log 8

Same name and namespace in other branches
  1. 2.0.x src/LogMessage.php \Drupal\filelog\LogMessage::getLocation()

Get the request URI of the message.

Return value

string The request URI.

File

src/LogMessage.php, line 177

Class

LogMessage
Represents a single log event.

Namespace

Drupal\filelog

Code

public function getLocation() : string {
  return $this->context['request_uri'];
}