Fixed logstream compilation error.