예제 #1
0
 /**
  * Log an event to the debug log
  *
  * @param content String to display
  */
 public static void logToConsole(String content) {
   if (console != null) console.addEvent(content);
 }
예제 #2
0
 /**
  * Conveniene method to group output streams
  *
  * @param content String to report
  */
 private void report(String content) {
   Log.i(TAG, content);
   if (console != null) // TODO Logging from the very beginning?
   console.addEvent(content);
 }