Add FlushGlog() method.