mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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.
This commit is contained in:
@@ -31,6 +31,8 @@ using System.Collections.Generic;
|
||||
using OpenSim.Framework;
|
||||
using OpenMetaverse;
|
||||
using OpenMetaverse.StructuredData;
|
||||
using log4net;
|
||||
using System.Reflection;
|
||||
|
||||
namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
@@ -240,6 +242,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public class AgentData : IAgentData
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private UUID m_id;
|
||||
public UUID AgentID
|
||||
{
|
||||
@@ -496,10 +499,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void Dump()
|
||||
{
|
||||
System.Console.WriteLine("------------ AgentData ------------");
|
||||
System.Console.WriteLine("UUID: " + AgentID);
|
||||
System.Console.WriteLine("Region: " + RegionHandle);
|
||||
System.Console.WriteLine("Position: " + Position);
|
||||
m_log.Info("------------ AgentData ------------");
|
||||
m_log.Info("UUID: " + AgentID);
|
||||
m_log.Info("Region: " + RegionHandle);
|
||||
m_log.Info("Position: " + Position);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user