Exemplo n.º 1
0
        internal EventLoggerConfiguration(LoggingConfiguration logging)
        {
            if (logging == null)
            {
                throw new ArgumentNullException(nameof(logging));
            }

            Logging = logging.Change(l => l
                                     .Application
                                     .Services(services => services
                                               .Advanced(advanced => advanced
                                                         .Register(kernel => this))));
        }