Ejemplo n.º 1
0
        public static ILoggerFactory AddConsoleLogger(this ILoggerFactory loggerFactory, Action <ConsoleLoggerConfiguration> configure)
        {
            var config = new ConsoleLoggerConfiguration();

            configure(config);
            return(loggerFactory.AddConsoleLogger(config));
        }