public function LogMessage::getLevel in File Log 8
Same name and namespace in other branches
- 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\filelogCode
public function getLevel() : string {
return static::getLevels()[$this->level];
}