logging usage

This closes #28