Log service

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