diff options
Diffstat (limited to '')
-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 | } |