Change logger so it uses config Fixes #60

Need to change settings object access as prop.