diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInfo.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInfo.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInfo.cs index 428192f..16c449f 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptInfo.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInfo.cs | |||
@@ -25,8 +25,9 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Reflection; | ||
28 | using libsecondlife; | 29 | using libsecondlife; |
29 | using OpenSim.Framework.Console; | 30 | using log4net; |
30 | using OpenSim.Region.Environment.Scenes; | 31 | using OpenSim.Region.Environment.Scenes; |
31 | 32 | ||
32 | namespace OpenSim.Region.ExtensionsScriptModule | 33 | namespace OpenSim.Region.ExtensionsScriptModule |
@@ -36,7 +37,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
36 | /// </summary> | 37 | /// </summary> |
37 | public class ScriptInfo | 38 | public class ScriptInfo |
38 | { | 39 | { |
39 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
40 | 41 | ||
41 | // Reference to world.eventsManager provided for convenience | 42 | // Reference to world.eventsManager provided for convenience |
42 | public EventManager events; | 43 | public EventManager events; |
@@ -47,7 +48,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
47 | // API Access | 48 | // API Access |
48 | public ScriptAPI api; | 49 | public ScriptAPI api; |
49 | 50 | ||
50 | public log4net.ILog Log | 51 | public ILog Log |
51 | { | 52 | { |
52 | get { return m_log; } | 53 | get { return m_log; } |
53 | } | 54 | } |