Implement log generation and doctest for jslint.