Created
January 27, 2017 09:38
-
-
Save r-winkler/7ef6c3cc5ebcb047a23d8f44f10cb555 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static StringBuilder dbgSb = null; | |
public static void DoLog(String s) { | |
if (dbgSb == null) { | |
dbgSb = new StringBuilder(); | |
dbgSb.append("\n###********************\n"); | |
} | |
dbgSb.append(s + "\n"); | |
} | |
public static String getLogString() { | |
String s = dbgSb.toString(); | |
dbgSb = null; | |
return s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment