Merge changes from topic "protolog-if-wrapper" into main

* changes:
  Update usages of isEnabled protolog API
  Improve performance of ProtoLog