public void OutputBillOfMaterials(BillOfMaterials billOfMaterials) { try { if (systemSettingsWrapper.OutputToConsole) { consoleOutput.OutputBillOfMaterials(billOfMaterials); } } catch (Exception ex) { logWrapper.LogError($"Error outputting the bill of materials. Exception: {ex.Message}"); } }