Add an interface for setting up a logger

closes #72