Allow logging to be configured at compilation time.
Merge pull request #2 from adamac/debug_log

Allow logging to be configured at compilation time.