Closed pavanky closed 5 months ago
This pull request was exported from Phabricator. Differential Revision: D57465366
This pull request was exported from Phabricator. Differential Revision: D57465366
This pull request has been merged in facebookresearch/HolisticTraceAnalysis@f9efe1cdf44c8ccd4de98487471ae82d623cd119.
Summary: The f-strings in logger.debug get evaluated even when they are not being printed.
This change adds a redundant check to see if debug is enabled for the logger before calling
logger.debug
Differential Revision: D57465366