private _DebugOut ( String file, String message ) : int | ||
file | String | |
message | String | |
리턴 | int |
private static void DEBUG_OUT(String str) { #if _DEBUG if (debug) { if (to_file) { PolicyManager._DebugOut(file, str + "\n"); } else { Console.WriteLine(str); } } #endif }
private static void DEBUG_OUT(String str) { #if _DEBUG if (debug) { if (to_file) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append(str); sb.Append((char)13); sb.Append((char)10); PolicyManager._DebugOut(file, sb.ToString()); } else { Console.WriteLine(str); } } #endif }