Allow logging to be configured at compilation time.