Added a logger spec that uses an actual logger IO.