Friedmann equations with the generalized logarithmic modification of Barrow entropy and Tsallis entropy