Matched Asymptotic Expansions with Logarithmic Terms