From 001ce95e4c4bf4f0929c2ced4ab22e3bc40fd1d6 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 13 Feb 2008 03:38:18 +0000 Subject: Clean up more unnecessary String.Format calls --- OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache/AssetServerBase.cs') diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 6cded49..6820027 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs @@ -70,15 +70,13 @@ namespace OpenSim.Framework.Communications.Cache if (asset != null) { - //m_log.Info( - // String.Format("[ASSET]: Asset {0} received from asset server", req.AssetID)); + //m_log.InfoFormat("[ASSET]: Asset {0} received from asset server", req.AssetID); m_receiver.AssetReceived(asset, req.IsTexture); } else { - m_log.Error( - String.Format("[ASSET]: Asset {0} not found by asset server", req.AssetID)); + m_log.ErrorFormat("[ASSET]: Asset {0} not found by asset server", req.AssetID); m_receiver.AssetNotFound(req.AssetID); } @@ -93,7 +91,6 @@ namespace OpenSim.Framework.Communications.Cache CommitAssets(); } - public AssetServerBase() { m_log.Info("[ASSETSERVER]: Starting asset storage system"); @@ -163,4 +160,4 @@ namespace OpenSim.Framework.Communications.Cache { } } -} \ No newline at end of file +} -- cgit v1.1