Add a logger

Add logging to provide error output to start, may have more use later on for debugging.
could you write this as?

```
@logger = log || Logger.new("/dev/null")
```

and don't forget double quotes :)