示例#1
0
        internal static IExceptionLogger CreateLogger(ServicesContainer services)
        {
            Contract.Assert(services != null);

            IEnumerable <IExceptionLogger> loggers = services.GetExceptionLoggers();

            Contract.Assert(loggers != null);
            return(new CompositeExceptionLogger(loggers));
        }