You are here

public function LogMessage::getLevel in File Log 8

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

Get the severity level.

Return value

string The severity level.

File

src/LogMessage.php, line 150

Class

LogMessage
Represents a single log event.

Namespace

Drupal\filelog

Code

public function getLevel() : string {
  return static::getLevels()[$this->level];
}