diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs index fd7ff96..93bbf32 100644 --- a/OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs +++ b/OpenSim/Region/Framework/Scenes/Scripting/NullScriptHost.cs | |||
@@ -27,11 +27,15 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using log4net; | ||
31 | using System.Reflection; | ||
30 | 32 | ||
31 | namespace OpenSim.Region.Framework.Scenes.Scripting | 33 | namespace OpenSim.Region.Framework.Scenes.Scripting |
32 | { | 34 | { |
33 | public class NullScriptHost : IScriptHost | 35 | public class NullScriptHost : IScriptHost |
34 | { | 36 | { |
37 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
38 | |||
35 | private Vector3 m_pos = new Vector3(128, 128, 30); | 39 | private Vector3 m_pos = new Vector3(128, 128, 30); |
36 | 40 | ||
37 | public string Name | 41 | public string Name |
@@ -80,7 +84,7 @@ namespace OpenSim.Region.Framework.Scenes.Scripting | |||
80 | 84 | ||
81 | public void SetText(string text, Vector3 color, double alpha) | 85 | public void SetText(string text, Vector3 color, double alpha) |
82 | { | 86 | { |
83 | Console.WriteLine("Tried to SetText [{0}] on NullScriptHost", text); | 87 | m_log.Warn("Tried to SetText "+text+" on NullScriptHost"); |
84 | } | 88 | } |
85 | } | 89 | } |
86 | } | 90 | } |