Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }