This repository was archived by the owner on Mar 26, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -306,10 +306,10 @@ public String toString() {
306306 " 击键" + getKpsString () +
307307 " 码长" + getKeysEachCharString () +
308308 " 回车" + getKeyEnterCountString () +
309- " 错字" + getTyposString () +
310- " 打词" + getRatioOfWordsString () +
309+ // " 错字" + getTyposString() +
310+ // " 打词" + getRatioOfWordsString() +
311311 " 退格" + getBackspaceCountString () +
312- " 键准" + getKeysAccuracyString () +
312+ // " 键准" + getKeysAccuracyString() +
313313 " 重打" + getRetypeCountString () +
314314 " 校验" + getHashCodeString ();
315315 }
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ public void setIdOfArticle(int id) {
9797 // Id 是在载文时调用的,所以千万别加 checkIt。
9898
9999 score .setIdOfArticle (id );
100+
101+ logger .debug ("set idOfArticle: {}" , id );
100102 // TODO 整个地方来显示 idOfArticle
101103 }
102104
@@ -158,12 +160,12 @@ public void start() {
158160 * 暂停更新,用户离开
159161 */
160162 public void suspended () {
163+ // 暂停时,要更新一下成绩。
164+ updateScore ();
165+
161166 // 保存此次的timeIntervalAll。
162167 timeIntervalLast = getTimeIntervalAll ();
163168
164- // 暂停时,也要更新一下成绩。
165- updateScore ();
166-
167169 this .active = false ;
168170
169171 logger .info ("suspended():暂停记录成绩。" );
Original file line number Diff line number Diff line change 1717 </appender >
1818
1919 <!-- 级别在debug以下的log会被抑制输出(log等级: error warn info debug trace)-->
20- <root level =" info " >
20+ <root level =" debug " >
2121 <appender-ref ref =" STDOUT" />
2222 </root >
2323</configuration >
You can’t perform that action at this time.
0 commit comments