#include
CallStack stack;
stack.update(1);
stack.log("xxx");
3.Callstack类及其成员
// Collect/print the call stack (function, file, line) traces for a single thread.
class CallStack {
public:
enum {
// Prune the lowest-most stack frames until we have