Added finer-grained logging control.
minor version
Merge pull request #12 from taphu/logging

Added finer-grained logging control.