aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/Python/PythonAPI/Console.cs
blob: 0d23dc625b18a1ebe69e401f01e9e27a4145d0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Reflection;
using log4net;

namespace OpenSim.Region.Modules.Python.PythonAPI
{
    class Console
    {
        private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

        public void WriteLine(string txt)
        {
            m_log.Info(txt);
        }

        public void WriteLine(string txt, params Object[] e)
        {
            m_log.Info(String.Format(txt, e));
        }
    }
}