misc:logmgr: add quick-flush support

1) Add support to flush immediately after each write to log file.
2) Change all commentaries to Chinese.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpParser: disable counting the runtime statistics

We only care about the emulation log before the real ctp tradings
heppen, so just disable counting the runtime statistics since they
are useless.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpagent/ctpapi: disable useless printings

Disable useless printings since they broke the Painter
window in terminal.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
regress:emulate: disable useless printings

Disable useless printings since they broke the Painter
window for CTP in terminal.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
misc/runctrl:strategy/futures: move log object from misc to strategy

Move log object from misc to stragegy since runctrl shoud only do the
jobs to control run-time execution and each strategy should manage the
log itself.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp/ctpParser:regress/emulate: update turning on log managers

Turning on log managers using strategies themself since Log
Manager was not a part of RunCtrl.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
regress:emulate: fix closing log using runctrl

We should close logMgr using strategy instead of runctrl.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
misc:logmgr: add LogPainter class

LogPainter works to paint logs directly to a window of Painter.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:futures: add support to display ctp run-time log

Add support to display ctp run-time log in a terminal window.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpParser: add monitor to display ctp run-time log

Add monitor to display ctp run-time log for each instrument
in a terminal window.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:turtle: print ctp log in moveToNextTick

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>