Exemple #1
0
        private void RegisterLoggerService()
        {
            var loggerHelper = new LoggingHelper();
            string configuration = KernelConfiguration.KernelLoggerConfigurationFilePath;
            loggerHelper.RegisterLogging(configuration, typeof (NomadKernel));

            _logger = loggerHelper.Logger;
            _repository = loggerHelper.Repository;
        }
Exemple #2
0
 private void RegisterLogging(string loggerConfiguration)
 {
     var helper = new LoggingHelper();
     helper.RegisterLogging(loggerConfiguration, typeof (ContainerCreator));
     _logger = helper.Logger;
     _repository = helper.Repository;
 }