You are here

public function JsonLogData::setSubType in JSONlog 8

Same name and namespace in other branches
  1. 8.2 src/Logger/JsonLogData.php \Drupal\jsonlog\Logger\JsonLogData::setSubType()
  2. 3.x src/Logger/JsonLogData.php \Drupal\jsonlog\Logger\JsonLogData::setSubType()

Parameters

string $channel:

File

src/Logger/JsonLogData.php, line 134

Class

JsonLogData

Namespace

Drupal\jsonlog\Logger

Code

public function setSubType($channel) {
  $this->subtype = mb_substr($channel, 0, 64);
}