Added a basic logger