orocos-toolchain / rtt

Orocos Real-Time Toolkit
http://www.orocos.org
Other
72 stars 79 forks source link

rtt Logger: clear any fail and eof flags #209

Closed fengzhuye closed 7 years ago

fengzhuye commented 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

meyerj commented 7 years ago

Looks good to me. Thanks for the contribution!