Log service

A log service for the debug subsystem.The logcat daemon thread puts the
log messages to the console.
Log service code improved

Some log service code improved.
Little changed
LOG service is added.
LOG service is added.
Merge branch 'erwinwang-master'
LOG service is added.