Add basic logging

Logging can be enabled by setting LOG_LEVEL as an environment variable.

Addresses issue #3