Logging for debugging - Fabian-Sommer/HeroesLounge GitHub Wiki

To add logging in the php:

use Log;
// ...
Log::info('HI FROM ' . __FILE__);

And then you can see those logs like so:

tail -f /opt/lampp/htdocs/hl/storage/logs/system.log

Or you can view logs from the backend admin: http://localhost:8080/hl/backend/system/eventlogs

This page is accessed from the Settings menu at the top right in the backend admin > (LOGS > ) Event logs

It is also accessible (by default) on the backend dashboard (first page from login, or clicked from top menu bar) on the right in the middle in the "System Status" box > Event log > click the count of events on the far right.