errorLong static method
Implementation
static void errorLong(String tag, String message) {
const int maxLogSize = 1000;
for (int i = 0; i <= message.length / maxLogSize; i++) {
int start = i * maxLogSize;
int end = (i + 1) * maxLogSize;
end = end > message.length ? message.length : end;
errorWithTag(tag, message.substring(start, end));
}
}