make jit logging visible, so it can be used in a TVM compiler
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23041
Differential Revision: D16402934
Pulled By: Krovatkin
fbshipit-source-id: 715f9821809527e94bd7f01f1680db046c888e6c