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 --- OpenSim/Framework/Communications/RestClient/RestClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/Communications/RestClient/RestClient.cs') diff --git a/OpenSim/Framework/Communications/RestClient/RestClient.cs b/OpenSim/Framework/Communications/RestClient/RestClient.cs index f968c9a..bf81565 100644 --- a/OpenSim/Framework/Communications/RestClient/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient/RestClient.cs @@ -240,7 +240,7 @@ namespace OpenSim.Framework.Communications } } realuri = sb.ToString(); - m_log.Info(String.Format("[REST]: RestURL: {0}", realuri)); + m_log.InfoFormat("[REST]: RestURL: {0}", realuri); return new Uri(sb.ToString()); } @@ -376,8 +376,8 @@ namespace OpenSim.Framework.Communications _asyncException = null; _request.ContentLength = src.Length; - m_log.Info(String.Format("[REST]: Request Length {0}", _request.ContentLength)); - m_log.Info(String.Format("[REST]: Sending Web Request {0}", buildUri())); + m_log.InfoFormat("[REST]: Request Length {0}", _request.ContentLength); + m_log.InfoFormat("[REST]: Sending Web Request {0}", buildUri()); src.Seek(0, SeekOrigin.Begin); m_log.Info("[REST]: Seek is ok"); Stream dst = _request.GetRequestStream(); -- cgit v1.1