Allow logging to be enabled by environment variable.
Merge pull request #23 from brendandahl/logging

Allow logging to be enabled by environment variable.