Clean up logging calls using String.Format explicitly

This commit is contained in:
Jeff Ames
2008-02-10 01:57:59 +00:00
parent 523284c32a
commit e207284fef
35 changed files with 222 additions and 233 deletions

View File

@@ -156,7 +156,7 @@ namespace OpenSim.Grid.UserServer
m_userManager.AddUserProfile(tempfirstname, templastname, tempMD5Passwd, regX, regY);
} catch (Exception ex)
{
m_log.Error(String.Format("[SERVER]: Error creating user: {0}", ex.ToString()));
m_log.ErrorFormat("[SERVER]: Error creating user: {0}", ex.ToString());
}
try
@@ -166,7 +166,7 @@ namespace OpenSim.Grid.UserServer
}
catch (Exception ex)
{
m_log.Error(String.Format("[SERVER]: Error creating inventory for user: {0}", ex.ToString()));
m_log.ErrorFormat("[SERVER]: Error creating inventory for user: {0}", ex.ToString());
}
m_lastCreatedUser = userID;
break;