Added logging function, plus a lite version of the class, which essentially is a error_log() wrapper - more info is in the README.