Added a very basic logging framework to the client