aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Physics
diff options
context:
space:
mode:
authorAdam Frisby2007-06-20 15:50:06 +0000
committerAdam Frisby2007-06-20 15:50:06 +0000
commit29053589bff370916f4067dade70969499f77ce3 (patch)
tree582e2c839ce2e681dc98087bb12c71241641ffc6 /OpenSim/OpenSim.Physics
parent* Removed ClientThreads from avatar (diff)
downloadopensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.zip
opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.gz
opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.bz2
opensim-SC_OLD-29053589bff370916f4067dade70969499f77ce3.tar.xz
* Replaced old logging mechanism with new shiny logging mechanism
* Console, I bid thee farewall. Use "Log" now where console used to exist.
Diffstat (limited to 'OpenSim/OpenSim.Physics')
-rw-r--r--OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs4
-rw-r--r--OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs10
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs b/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
index 26506c1..efccb36 100644
--- a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
+++ b/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
@@ -56,12 +56,12 @@ namespace OpenSim.Physics.Manager
56 56
57 if(_plugins.ContainsKey(engineName)) 57 if(_plugins.ContainsKey(engineName))
58 { 58 {
59 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"creating "+engineName); 59 OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.LOW,"creating "+engineName);
60 return _plugins[engineName].GetScene(); 60 return _plugins[engineName].GetScene();
61 } 61 }
62 else 62 else
63 { 63 {
64 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName); 64 OpenSim.Framework.Console.MainLog.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName);
65 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName)); 65 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName));
66 } 66 }
67 } 67 }
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs b/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs
index 7a254c6..0901c2f 100644
--- a/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/OpenSim.Physics/Manager/PhysicsScene.cs
@@ -68,7 +68,7 @@ namespace OpenSim.Physics.Manager
68 68
69 public override PhysicsActor AddAvatar(PhysicsVector position) 69 public override PhysicsActor AddAvatar(PhysicsVector position)
70 { 70 {
71 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE,"NullPhysicsScene : AddAvatar({0})", position); 71 OpenSim.Framework.Console.MainLog.Instance.Verbose("NullPhysicsScene : AddAvatar({0})", position);
72 return PhysicsActor.Null; 72 return PhysicsActor.Null;
73 } 73 }
74 74
@@ -79,7 +79,7 @@ namespace OpenSim.Physics.Manager
79 79
80 public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) 80 public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size)
81 { 81 {
82 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : AddPrim({0},{1})", position, size); 82 OpenSim.Framework.Console.MainLog.Instance.Verbose( "NullPhysicsScene : AddPrim({0},{1})", position, size);
83 return PhysicsActor.Null; 83 return PhysicsActor.Null;
84 } 84 }
85 85
@@ -87,17 +87,17 @@ namespace OpenSim.Physics.Manager
87 { 87 {
88 m_workIndicator = (m_workIndicator + 1) % 10; 88 m_workIndicator = (m_workIndicator + 1) % 10;
89 89
90 //OpenSim.Framework.Console.MainConsole.Instance.SetStatus(m_workIndicator.ToString()); 90 //OpenSim.Framework.Console.MainLog.Instance.SetStatus(m_workIndicator.ToString());
91 } 91 }
92 92
93 public override void GetResults() 93 public override void GetResults()
94 { 94 {
95 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : GetResults()"); 95 OpenSim.Framework.Console.MainLog.Instance.Verbose( "NullPhysicsScene : GetResults()");
96 } 96 }
97 97
98 public override void SetTerrain(float[] heightMap) 98 public override void SetTerrain(float[] heightMap)
99 { 99 {
100 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : SetTerrain({0} items)", heightMap.Length); 100 OpenSim.Framework.Console.MainLog.Instance.Verbose( "NullPhysicsScene : SetTerrain({0} items)", heightMap.Length);
101 } 101 }
102 102
103 public override void DeleteTerrain() 103 public override void DeleteTerrain()