diff options
author | Jeff Ames | 2008-02-10 01:57:59 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-10 01:57:59 +0000 |
commit | e207284fefa60637e35405ebc87e5e151bd2eabd (patch) | |
tree | 6e9954502ea44fe8f6327cb65cfd0026c3322578 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |
parent | Set svn:ignore in OpenSim/Tests. (diff) | |
download | opensim-SC_OLD-e207284fefa60637e35405ebc87e5e151bd2eabd.zip opensim-SC_OLD-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.gz opensim-SC_OLD-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.bz2 opensim-SC_OLD-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.xz |
Clean up logging calls using String.Format explicitly
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index 6bd0575..e26ed5c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -55,10 +55,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
55 | } | 55 | } |
56 | else | 56 | else |
57 | { | 57 | { |
58 | m_log.Error(String.Format( | 58 | m_log.ErrorFormat( |
59 | "[PRIMINVENTORY]: " + | 59 | "[PRIMINVENTORY]: " + |
60 | "Couldn't find part {0} in object group {1}, {2} to start script with ID {3}", | 60 | "Couldn't find part {0} in object group {1}, {2} to start script with ID {3}", |
61 | localID, Name, UUID, itemID)); | 61 | localID, Name, UUID, itemID); |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
@@ -76,10 +76,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
76 | // } | 76 | // } |
77 | // else | 77 | // else |
78 | // { | 78 | // { |
79 | // m_log.Error(String.Format( | 79 | // m_log.ErrorFormat( |
80 | // "[PRIMINVENTORY]: " + | 80 | // "[PRIMINVENTORY]: " + |
81 | // "Couldn't find part {0} in object group {1}, {2} to start script with ID {3}", | 81 | // "Couldn't find part {0} in object group {1}, {2} to start script with ID {3}", |
82 | // localID, Name, UUID, itemID)); | 82 | // localID, Name, UUID, itemID); |
83 | // } | 83 | // } |
84 | // } | 84 | // } |
85 | 85 | ||
@@ -123,10 +123,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
123 | } | 123 | } |
124 | else | 124 | else |
125 | { | 125 | { |
126 | m_log.Error(String.Format( | 126 | m_log.ErrorFormat( |
127 | "[PRIMINVENTORY]: " + | 127 | "[PRIMINVENTORY]: " + |
128 | "Couldn't find part {0} in object group {1}, {2} to stop script with ID {3}", | 128 | "Couldn't find part {0} in object group {1}, {2} to stop script with ID {3}", |
129 | partID, Name, UUID, itemID)); | 129 | partID, Name, UUID, itemID); |
130 | } | 130 | } |
131 | } | 131 | } |
132 | 132 | ||
@@ -144,10 +144,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
144 | } | 144 | } |
145 | else | 145 | else |
146 | { | 146 | { |
147 | m_log.Error(String.Format( | 147 | m_log.ErrorFormat( |
148 | "[PRIMINVENTORY]: " + | 148 | "[PRIMINVENTORY]: " + |
149 | "Couldn't find part {0} in object group {1}, {2} to retreive prim inventory", | 149 | "Couldn't find part {0} in object group {1}, {2} to retreive prim inventory", |
150 | localID, Name, UUID)); | 150 | localID, Name, UUID); |
151 | } | 151 | } |
152 | return false; | 152 | return false; |
153 | } | 153 | } |
@@ -161,10 +161,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
161 | } | 161 | } |
162 | else | 162 | else |
163 | { | 163 | { |
164 | m_log.Error(String.Format( | 164 | m_log.ErrorFormat( |
165 | "[PRIMINVENTORY]: " + | 165 | "[PRIMINVENTORY]: " + |
166 | "Couldn't find part {0} in object group {1}, {2} to request inventory data", | 166 | "Couldn't find part {0} in object group {1}, {2} to request inventory data", |
167 | localID, Name, UUID)); | 167 | localID, Name, UUID); |
168 | } | 168 | } |
169 | } | 169 | } |
170 | 170 | ||
@@ -200,10 +200,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
200 | } | 200 | } |
201 | else | 201 | else |
202 | { | 202 | { |
203 | m_log.Error(String.Format( | 203 | m_log.ErrorFormat( |
204 | "[PRIMINVENTORY]: " + | 204 | "[PRIMINVENTORY]: " + |
205 | "Couldn't find prim local ID {0} in group {1}, {2} to add inventory item ID {3}", | 205 | "Couldn't find prim local ID {0} in group {1}, {2} to add inventory item ID {3}", |
206 | localID, Name, UUID, newItemId)); | 206 | localID, Name, UUID, newItemId); |
207 | } | 207 | } |
208 | 208 | ||
209 | return false; | 209 | return false; |
@@ -224,10 +224,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
224 | } | 224 | } |
225 | else | 225 | else |
226 | { | 226 | { |
227 | m_log.Error(String.Format( | 227 | m_log.ErrorFormat( |
228 | "[PRIMINVENTORY]: " + | 228 | "[PRIMINVENTORY]: " + |
229 | "Couldn't find prim local ID {0} in prim {1}, {2} to get inventory item ID {3}", | 229 | "Couldn't find prim local ID {0} in prim {1}, {2} to get inventory item ID {3}", |
230 | primID, part.Name, part.UUID, itemID)); | 230 | primID, part.Name, part.UUID, itemID); |
231 | } | 231 | } |
232 | 232 | ||
233 | return null; | 233 | return null; |
@@ -250,10 +250,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
250 | } | 250 | } |
251 | else | 251 | else |
252 | { | 252 | { |
253 | m_log.Error(String.Format( | 253 | m_log.ErrorFormat( |
254 | "[PRIMINVENTORY]: " + | 254 | "[PRIMINVENTORY]: " + |
255 | "Couldn't find prim ID {0} to update item {1}, {2}", | 255 | "Couldn't find prim ID {0} to update item {1}, {2}", |
256 | item.ParentPartID, item.Name, item.ItemID)); | 256 | item.ParentPartID, item.Name, item.ItemID); |
257 | } | 257 | } |
258 | 258 | ||
259 | return false; | 259 | return false; |