函数f(x)=logax(0<a≠1)对于任意正实数x、y都有( )
A.f(xy)=f(x)f(y)
B.f(xy)=f(x)+f(y)
C.f(x+y)=f(x)f(y)
D.f(x+y)=f(x)+f(y)
B