Optionally, disable logger. Fixes #26.