You are here

public function LogMessage::getTimestamp in File Log 8

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

Get the timestamp of the message.

Return value

int The timestamp.

File

src/LogMessage.php, line 246

Class

LogMessage
Represents a single log event.

Namespace

Drupal\filelog

Code

public function getTimestamp() : int {
  return $this->context['timestamp'];
}