Removing an if in place of pattern matching
Merge pull request #89 from jeregrine/cleaning_up_router_logger

Removing an if in place of pattern matching