Updated logcat.cpp to use a linked list instead of the vector.