From e207284fefa60637e35405ebc87e5e151bd2eabd Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sun, 10 Feb 2008 01:57:59 +0000 Subject: Clean up logging calls using String.Format explicitly --- .../Communications/OGS1/OGS1InventoryService.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/Communications') diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index 656dd70..81689ed 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs @@ -73,9 +73,9 @@ namespace OpenSim.Region.Communications.OGS1 { try { - m_log.Info( - String.Format("[INVENTORY]: Requesting inventory from {0}/GetInventory/ for user {1}", - _inventoryServerUrl, userID)); + m_log.InfoFormat( + "[INVENTORY]: Requesting inventory from {0}/GetInventory/ for user {1}", + _inventoryServerUrl, userID); RestObjectPosterResponse requester = new RestObjectPosterResponse(); @@ -98,9 +98,9 @@ namespace OpenSim.Region.Communications.OGS1 LLUUID userID = response.UserID; if (m_RequestingInventory.ContainsKey(userID)) { - m_log.Info(String.Format("[INVENTORY]: " + - "Received inventory response for user {0} containing {1} folders and {2} items", - userID, response.Folders.Count, response.AllItems.Count)); + m_log.InfoFormat("[INVENTORY]: " + + "Received inventory response for user {0} containing {1} folders and {2} items", + userID, response.Folders.Count, response.AllItems.Count); InventoryFolderImpl rootFolder = null; InventoryRequest request = m_RequestingInventory[userID]; @@ -134,10 +134,10 @@ namespace OpenSim.Region.Communications.OGS1 } else { - m_log.Warn( - String.Format("[INVENTORY]: " + - "Received inventory response for {0} for which we do not have a record of requesting!", - userID)); + m_log.WarnFormat( + "[INVENTORY]: " + + "Received inventory response for {0} for which we do not have a record of requesting!", + userID); } } -- cgit v1.1