若函数y=f(x)是函数y=ax(a>0,且a≠1)的反函数,且f(2)=1,则f(x)=( )
A.log2x B.
C.logx D.2x-2
若函数y=f(x)是函数y=ax(a>0,且a≠1)的反函数,且f(2)=1,则f(x)=( )
A.log2x B.
C.logx D.2x-2
A