mirror of
https://github.com/opensim/opensim.git
synced 2026-05-17 04:05:40 +08:00
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
22 lines
496 B
C#
22 lines
496 B
C#
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));
|
|
}
|
|
}
|
|
}
|