Closed fengzhuye closed 7 years ago
just call clear() will not reset the stringstream. And the log will not append to the stringsteam before reset the flag. reflink: http://stackoverflow.com/questions/2848087/how-to-clear-stringstream
Looks good to me. Thanks for the contribution!
just call clear() will not reset the stringstream. And the log will not append to the stringsteam before reset the flag. reflink: http://stackoverflow.com/questions/2848087/how-to-clear-stringstream