internal static IExceptionLogger CreateLogger(ServicesContainer services) { Contract.Assert(services != null); IEnumerable <IExceptionLogger> loggers = services.GetExceptionLoggers(); Contract.Assert(loggers != null); return(new CompositeExceptionLogger(loggers)); }