private function Trigger::processLog in Build Hooks 8
1 call to Trigger::processLog()
- Trigger::execute in src/
Trigger.php - return void
File
- src/
Trigger.php, line 164
Class
- Trigger
- Class Trigger.
Namespace
Drupal\build_hooksCode
private function processLog($message, $args = []) {
$log = (bool) $this->configFactory
->get('build_hooks.settings')
->get('messages.log');
if (!$log) {
return;
}
$this->logger
->get('build_hooks')
->info($this->stringTranslation
->translate($message, $args));
}