Adding a method to the MySQL connector for getting affected rows
Updating the Log class to allow using error_log with a custom path, or syslog