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); } }