You can also output detailed information from the last database call:
DB::debug();
That will show detailed output on the screen with the query, any errors, and any results returned in an easy to review format.
Logging Errors
Within a controller, you can call:
$this->log('something');
And it will be posted to the log, in /core/logs/log.txt. This could be useful for non-invasive debugging, or for AJAX requests. These will only be written to the log when DEBUG_MODE is set to 'true' in the local.config.php file.
Recommended Comments
There are no comments to display.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.