The set of all values of $x$ and the set of all values of $a$ for which the real valued function $f(x)=\sqrt{\log_a(x-[x])}$ is defined are respectively
- A
$\mathbb{R}-\mathbb{Z}$ & $(0,1)$
- B
$\mathbb{Z}$ & $\mathbb{R}-\{0,1\}$
- C
$\mathbb{Z}^-$ & $(1,\infty)$
- D
$\mathbb{R}$ & $\mathbb{R}$