A PHP and Javascript library for logging to files