ability to pass in own logger object
new option for auto_close_fds (default to True)