While integrating $\ln(\sec x)$, at one point I managed to break the integral into two. But I wasn't able to integrate one of those parts.
The integral I am having a difficulty with is:
$$\int {\ln x\over 2-x}\,dx$$
I am aware of the fact that this integral cannot be expressed with elementary functions. In fact, my educated guess is that the answer should contain a dilogarithm term.
I have integrated similar functions and used the dilogarithm (or even trilogarithm once), but in this case, I have no idea how to get on solving this integral.
Any help will be appreciated.