we differentiate implicitly, we use the product rule for the term on the left. i don't recall if i explained implicit differentiation to you or someone else recently, but that does not matter. implicit differentiation was explained several times on this site, you can search for "implicit differentiation" by using the search feature to find these posts.
now on to your question.
........i just rewrote the log in a more convenient form on the right so i don't have to use the chain rule on it