You are here

public function JsonLogData::setSubType in JSONlog 8.2

Same name and namespace in other branches
  1. 8 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);
}