aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/Host.cs
blob: dcb70b498e7f5da0f292157b347ecad7fc7cc17b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using log4net;

namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
    class Host : IHost
    {
        private readonly IObject m_obj;
        private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

        public Host(IObject m_obj)
        {
            this.m_obj = m_obj;
        }

        public IObject Object
        {
            get { return m_obj; }
        }

        public ILog Console
        {
            get { return m_log; }
        }
    }
}