Is there some smart way to send flash messages into log file?
$this->flash->error( "Some error message!" );
$this->logger->error( "Some error message!" );
I could extend \Phalcon\Flash\Direct::message() function, call DI, find logger and log it. Could events help in this case?