We have been given the function

Domain is the set of x values for which the function is defined. We know that a logarithm function is defined for all values greater than zero.
Thus, for the domain , we have

The domain is given by 
The range is the set of y values for which the function is defined. For this logarithm function, we can take any values. Hence, the range of the function is all real number.
Now let us find the inverse of the function.

The domain of the inverse function is all real number and range is all values greater than zero.
We know that the domain of the function is range of the inverse function and the range of the function is domain of the inverse function.
Therefore, it justifies our solution.