changed EnableLogging to be fluent