Added simple logging module
Logging now supports format strings