Work in log in the lookup table

How can I apply the “work in log” in the image to Photoshop to restore the effect of the rendering viewport?

Hi aya_akka​, Apologies for the late reply. It looks like your question was answered in this forum post: Work in log in the lookup table - Common :: Render Theory - Chaos Forum