|
|
@ -97,8 +97,7 @@ object Debug { |
|
|
|
val spendingTime = System.currentTimeMillis() - debugTimeMap[sourceUrl]!! |
|
|
|
val spendingTime = System.currentTimeMillis() - debugTimeMap[sourceUrl]!! |
|
|
|
debugTimeMap[sourceUrl] = if (state == "成功") spendingTime else 180000L |
|
|
|
debugTimeMap[sourceUrl] = if (state == "成功") spendingTime else 180000L |
|
|
|
val printTime = debugTimeFormat.format(Date(spendingTime)) |
|
|
|
val printTime = debugTimeFormat.format(Date(spendingTime)) |
|
|
|
val originalMessage = debugMessageMap[sourceUrl]!!.substringAfter("] ") |
|
|
|
debugMessageMap[sourceUrl] = "$printTime $state" |
|
|
|
debugMessageMap[sourceUrl] = "$printTime $originalMessage $state" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|