[task] Add two func in GLog.cc