예제 #1
0
        static public ILoggingBuilder AddDebuggerLogger
            (this ILoggingBuilder builder, Action <DebuggerLoggerOptions> configure)
        {
            if (configure == null)
            {
                throw new ArgumentNullException(nameof(configure));
            }

            builder.AddDebuggerLogger();
            builder.Services.Configure(configure);

            return(builder);
        }