* bump version to 2.1.0
* add an optional logger