diff options
author | Tedd Hansen | 2008-02-01 23:36:36 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-01 23:36:36 +0000 |
commit | d02a90823f2873f1b4de63062e3909d03a5a91fa (patch) | |
tree | cb0d8f79fd36bec98bbac39c1185ee40c75e7c6d /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs | |
parent | SCRIPT SUPPORT IS STILL BROKEN. (diff) | |
download | opensim-SC-d02a90823f2873f1b4de63062e3909d03a5a91fa.zip opensim-SC-d02a90823f2873f1b4de63062e3909d03a5a91fa.tar.gz opensim-SC-d02a90823f2873f1b4de63062e3909d03a5a91fa.tar.bz2 opensim-SC-d02a90823f2873f1b4de63062e3909d03a5a91fa.tar.xz |
SCRIPTING STILL BROKEN
Added comments and regions, restructured code
Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG
All modules should now refresh their configuration runtime
Made all logging in ScriptEngine.Common get script name from actual engine
Renamed LSLLongCmdHandler to AsyncLSLCommandManager
Added auto-recover with 5 sec throttle for new MaintenanceThread
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs index bce26ff..fe6dfcd 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/Common.cs | |||
@@ -44,14 +44,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
44 | public static void SendToDebug(string Message) | 44 | public static void SendToDebug(string Message) |
45 | { | 45 | { |
46 | //if (Debug == true) | 46 | //if (Debug == true) |
47 | mySE.Log.Verbose("ScriptEngine", "Debug: " + Message); | 47 | mySE.Log.Verbose(mySE.ScriptEngineName, "Debug: " + Message); |
48 | //SendToDebugEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + Message); | 48 | //SendToDebugEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + Message); |
49 | } | 49 | } |
50 | 50 | ||
51 | public static void SendToLog(string Message) | 51 | public static void SendToLog(string Message) |
52 | { | 52 | { |
53 | //if (Debug == true) | 53 | //if (Debug == true) |
54 | mySE.Log.Verbose("ScriptEngine", "LOG: " + Message); | 54 | mySE.Log.Verbose(mySE.ScriptEngineName, "LOG: " + Message); |
55 | //SendToLogEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + Message); | 55 | //SendToLogEvent("\r\n" + DateTime.Now.ToString("[HH:mm:ss] ") + Message); |
56 | } | 56 | } |
57 | } | 57 | } |