Text this: Fast spectral Galerkin method for logarithmic singular equations on a segment