aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs b/OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs
index 6bfa73b..38eceb1 100644
--- a/OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs
+++ b/OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs
@@ -31,6 +31,8 @@ using System.Collections.Generic;
31using OpenSim.Framework; 31using OpenSim.Framework;
32using OpenMetaverse; 32using OpenMetaverse;
33using OpenMetaverse.StructuredData; 33using OpenMetaverse.StructuredData;
34using log4net;
35using System.Reflection;
34 36
35namespace OpenSim.Region.Framework.Scenes 37namespace OpenSim.Region.Framework.Scenes
36{ 38{
@@ -240,6 +242,7 @@ namespace OpenSim.Region.Framework.Scenes
240 242
241 public class AgentData : IAgentData 243 public class AgentData : IAgentData
242 { 244 {
245 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
243 private UUID m_id; 246 private UUID m_id;
244 public UUID AgentID 247 public UUID AgentID
245 { 248 {
@@ -496,10 +499,10 @@ namespace OpenSim.Region.Framework.Scenes
496 499
497 public void Dump() 500 public void Dump()
498 { 501 {
499 System.Console.WriteLine("------------ AgentData ------------"); 502 m_log.Info("------------ AgentData ------------");
500 System.Console.WriteLine("UUID: " + AgentID); 503 m_log.Info("UUID: " + AgentID);
501 System.Console.WriteLine("Region: " + RegionHandle); 504 m_log.Info("Region: " + RegionHandle);
502 System.Console.WriteLine("Position: " + Position); 505 m_log.Info("Position: " + Position);
503 } 506 }
504 } 507 }
505 508