log(c)(b)=x
log(c)(a)=y
b=c^x
a=c^y
log(a)(b)=log(c^y)(c^x)=x/y*log(c)(c)
所以log(a)(b)=log(c)(b)/log(c)(a)