Add option to no-op logging calls.