add log cache feature in case of application crash by new Threads
every time the readlogcat() function executed.