Adds ability to write certain console messages to log files, extension for Gecko-based application