Created by: jetfuel
resolve #205 (closed) https://github.com/PaddlePaddle/VisualDL/issues/205
Since we don't retain the log object, the object will get destroyed immediately. We can safely move the error throw to the destructor. Please let me know if I missed some edge cases.