* Change LSL -> C# translated script console output to use the logger (at DEBUG level) rather than Console.Writeline
parent
be02107ea8
commit
e49bdd2628
|
@ -39,6 +39,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
|||
{
|
||||
public class Compiler
|
||||
{
|
||||
private static readonly log4net.ILog m_log
|
||||
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
// * Uses "LSL2Converter" to convert LSL to C# if necessary.
|
||||
// * Compiles C#-code into an assembly
|
||||
// * Returns assembly name ready for AppDomain load.
|
||||
|
@ -299,10 +302,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
|||
break;
|
||||
}
|
||||
|
||||
Console.WriteLine("\n\n\n");
|
||||
Console.WriteLine(compileScript);
|
||||
Console.WriteLine("\n\n\n");
|
||||
|
||||
m_log.Debug("[ScriptEngine.DotNetEngine]: Preparing to compile the following LSL to C# translated code");
|
||||
m_log.Debug("");
|
||||
m_log.Debug(compileScript);
|
||||
|
||||
return CompileFromDotNetText(compileScript, l);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue