示例#1
0
 @Override
 public boolean onConsoleMessage(final ConsoleMessage consoleMessage) {
   BLog.i(
       TAG,
       consoleMessage.sourceId()
           + "("
           + consoleMessage.lineNumber()
           + "):"
           + consoleMessage.message());
   return true;
   // if open this, there will another log with the same output, one of
   // which is from onConsoleMessage
   // return super.onConsoleMessage(consoleMessage);
 }
示例#2
0
 public void onConsoleMessage(final String message, final int lineNumber, final String sourceID) {
   BLog.d(TAG, String.format("2-%s(%d):%s", sourceID, lineNumber, message));
 }