$${\Delta S_L = \int_i^f \frac{dQ}{T} = \int_{T_{iL}}^{T_f} \frac{mc\, dT}{T} = mc \int_{T_{iL}}^{T_f} \frac{dT}{T} \\ = mc \ln \frac{T_f}{T_{iL}}}$$