This PR adds logging capabilities to the MessageTrait. The logs are stores in the file administrator/logs/com_joomgallery.log.php.
setError() automatically adds a log entry to the log file. The other methods (addDebug() and addWarning()) can also push a new log entry when manually change the fourth argument to true.
This PR adds logging capabilities to the MessageTrait. The logs are stores in the file
administrator/logs/com_joomgallery.log.php
.setError()
automatically adds a log entry to the log file. The other methods (addDebug()
andaddWarning()
) can also push a new log entry when manually change the fourth argument to true.