diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs index 41d368d..dcb70b4 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs | |||
@@ -1,12 +1,15 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Reflection; | ||
3 | using System.Text; | 4 | using System.Text; |
5 | using log4net; | ||
4 | 6 | ||
5 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 7 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
6 | { | 8 | { |
7 | class Host : IHost | 9 | class Host : IHost |
8 | { | 10 | { |
9 | private readonly IObject m_obj; | 11 | private readonly IObject m_obj; |
12 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
10 | 13 | ||
11 | public Host(IObject m_obj) | 14 | public Host(IObject m_obj) |
12 | { | 15 | { |
@@ -17,5 +20,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
17 | { | 20 | { |
18 | get { return m_obj; } | 21 | get { return m_obj; } |
19 | } | 22 | } |
23 | |||
24 | public ILog Console | ||
25 | { | ||
26 | get { return m_log; } | ||
27 | } | ||
20 | } | 28 | } |
21 | } | 29 | } |