+ [Log] add method flush to clear logs