Added a simple logging module.