Ejemplo n.º 1
0
        public SeriLogConsumer(ILoggerContext loggerContext)
        {
            _loggerContext = loggerContext;
            var loggerSource = _loggerContext.Source;
            var connection   = loggerSource.NewConnection(_loggerContext.LoggerConfig);

            _publisher = connection.NewPublisher();
        }