Add debug messages.

This commit is contained in:
James Cole
2016-04-08 11:59:44 +02:00
parent 732a85e51d
commit dc4665e82a
8 changed files with 62 additions and 2 deletions

View File

@@ -138,11 +138,13 @@ final class Processor
$triggered = $this->triggered();
if ($triggered) {
if ($this->actions->count() > 0) {
Log::debug('Journal #' . $journal->id . ' triggered, actions executed.');
$this->actions();
}
return true;
}
Log::debug('Journal #' . $journal->id . ' not triggered, did nothing.');
return false;