How to enable GRAPH_DEBUG in jit?

#define GRAPH_DEBUG(...) \
  JIT_LOG(::torch::jit::JitLoggingLevels::GRAPH_DEBUG, __VA_ARGS__);
// use GRAPH_EXPORT to export a graph so that the IR can be loaded by a script

I have no idea about how to enable this log, thanks for helping me out.

This JIT Logging doc explains how these logging utils. can be used and enabled.