changed set_logger example in readme because I obviously didn't understand blocks before.