Exemplo n.º 1
0
 //public static string sFarParticiple { NOTE: this is NOT needed, as higher debug level will output text each time sParticiple is used even in outer calls
 //	set {
 //		//if (bMegaDebug) {
 //			if (value!=null&&value!="") {
 //				outerParticiple=value;
 //				if (bMegaDebug) {
 //					Error_WriteDateIfFirstLine();
 //					//Console.Error.WriteLine(sMegaDebugPrefix+"Frame["+RApplication.Render_Primary_Runs.ToString()+"]"+outerParticiple);
 //				}
 //			}
 //			else outerParticiple="";
 //		//}
 //	}
 //	get {
 //		if (outerParticiple==null) outerParticiple="";
 //		return outerParticiple;
 //	}
 //}
 //private static string outerParticiple="";
 public static void Error_WriteDateIfFirstLine()
 {
     if (bFirstOutput)
     {
         Console.Error.WriteLine("RReporting Error Log");
         Console.Error.WriteLine(RString.DateTimeString(true, "-", " ", ":"));
         Console.Error.WriteLine();
         bFirstOutput = false;
     }
 }