Esempio n. 1
0
        static void Main(string[] args)
        {
            Logger _logger = LogManager.GetLogger("Bowerbird.Import");

            try
            {
                var fileFetcher = new FileFetcher();
                fileFetcher.FetchTheData();
            }
            catch (Exception exception)
            {
                _logger.ErrorException("Error importing data", exception);
            }
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Logger _logger = LogManager.GetLogger("Bowerbird.Import");

            try
            {
                var fileFetcher = new FileFetcher();
                fileFetcher.FetchTheData();
            }
            catch (Exception exception)
            {
                _logger.ErrorException("Error importing data", exception);
            }
        }