Fleshing out the logger and preparing for testing