aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/Python/PythonAPI/Console.cs
blob: 3fe1f917134520f685cd07b39a20d1cd9373f6d7 (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));
        }
    }
}