diff options
author | Melanie Thielker | 2008-09-26 17:01:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-26 17:01:33 +0000 |
commit | 34cfd710ce2f80e11012a219af73100f559306df (patch) | |
tree | a9ecd356aed4f1cae2c9368b96290319c4033a0f /OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs | |
parent | Adds support for the "Running" checkbox and the "Reset" button, as well as (diff) | |
download | opensim-SC-34cfd710ce2f80e11012a219af73100f559306df.zip opensim-SC-34cfd710ce2f80e11012a219af73100f559306df.tar.gz opensim-SC-34cfd710ce2f80e11012a219af73100f559306df.tar.bz2 opensim-SC-34cfd710ce2f80e11012a219af73100f559306df.tar.xz |
DNE code cleanups
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs index 3d9e19b..56b4c8e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Common.cs | |||
@@ -29,28 +29,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
29 | { | 29 | { |
30 | public static class Common | 30 | public static class Common |
31 | { | 31 | { |
32 | public static bool debug = true; | ||
33 | public static ScriptEngine mySE; | 32 | public static ScriptEngine mySE; |
34 | 33 | ||
35 | // This class just contains some static log stuff used for debugging. | 34 | // This class just contains some static log stuff used for debugging. |
36 | 35 | ||
37 | //public delegate void SendToDebugEventDelegate(string message); | ||
38 | //public delegate void SendToLogEventDelegate(string message); | ||
39 | //static public event SendToDebugEventDelegate SendToDebugEvent; | ||
40 | //static public event SendToLogEventDelegate SendToLogEvent; | ||
41 | |||
42 | public static void SendToDebug(string message) | 36 | public static void SendToDebug(string message) |
43 | { | 37 | { |
44 | //if (Debug == true) | ||
45 | mySE.Log.Info("[" + mySE.ScriptEngineName + "]: Debug: " + message); | 38 | mySE.Log.Info("[" + mySE.ScriptEngineName + "]: Debug: " + message); |
46 | //SendToDebugEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + message); | ||
47 | } | 39 | } |
48 | 40 | ||
49 | public static void SendToLog(string message) | 41 | public static void SendToLog(string message) |
50 | { | 42 | { |
51 | //if (Debug == true) | ||
52 | mySE.Log.Info("[" + mySE.ScriptEngineName + "]: LOG: " + message); | 43 | mySE.Log.Info("[" + mySE.ScriptEngineName + "]: LOG: " + message); |
53 | //SendToLogEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + message); | ||
54 | } | 44 | } |
55 | } | 45 | } |
56 | } | 46 | } |