Write to STDOUT using a logger.

Have a feeling this will fix #3 and it's probably better to do this anyway.