You are here

public function LogMessage::getType in File Log 8

Get the log channel.

Return value

string The log channel.

File

src/LogMessage.php, line 140

Class

LogMessage
Represents a single log event.

Namespace

Drupal\filelog

Code

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