aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/Python/PythonAPI/Console.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Modules/Python/PythonAPI/Console.cs')
-rw-r--r--OpenSim/Region/Modules/Python/PythonAPI/Console.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/Modules/Python/PythonAPI/Console.cs b/OpenSim/Region/Modules/Python/PythonAPI/Console.cs
new file mode 100644
index 0000000..0d23dc6
--- /dev/null
+++ b/OpenSim/Region/Modules/Python/PythonAPI/Console.cs
@@ -0,0 +1,21 @@
1using System;
2using System.Reflection;
3using log4net;
4
5namespace OpenSim.Region.Modules.Python.PythonAPI
6{
7 class Console
8 {
9 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
10
11 public void WriteLine(string txt)
12 {
13 m_log.Info(txt);
14 }
15
16 public void WriteLine(string txt, params Object[] e)
17 {
18 m_log.Info(String.Format(txt, e));
19 }
20 }
21}