Added api.log(msg) - from djromero's fork

@djromero added your api.log(msg) method as a pull request.