Adding method implementations in logtrace.cc