private void withTraceLevel(TraceLevel level, Action <IContainer> action)
        {
            var registry = new FubuRegistry();

            registry.Features.Diagnostics.Enable(level);


            using (var runtime = registry.ToRuntime())
            {
                var container = runtime.Get <IContainer>();
                action(container);
            }
        }
        private void withTraceLevel(TraceLevel level, Action<IContainer> action)
        {
            var registry = new FubuRegistry();
            registry.Features.Diagnostics.Enable(level);

            using (var runtime = registry.ToRuntime())
            {
                var container = runtime.Get<IContainer>();
                action(container);
            }
        }