diff options
author | Charles Krinke | 2009-02-22 20:52:55 +0000 |
---|---|---|
committer | Charles Krinke | 2009-02-22 20:52:55 +0000 |
commit | 8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch) | |
tree | 96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs | |
parent | Allow delivery of object messages gridwide (diff) | |
download | opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2 opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz |
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ChildAgentDataUpdate.cs | 11 |
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; | |||
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenMetaverse.StructuredData; | 33 | using OpenMetaverse.StructuredData; |
34 | using log4net; | ||
35 | using System.Reflection; | ||
34 | 36 | ||
35 | namespace OpenSim.Region.Framework.Scenes | 37 | namespace 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 | ||