Open
Description
I am using the following patch to convert unchecked Debug to wrapped by if logging.isDebugEnabled()
.
I would like to make this idempotent so it can be repeatedly applied.
How do I do that?
@@
var x expression
@@
-logging.L(x).Debug(...)
+if logging.IsDebugEnabled(x) {
+ logging.L(x).Debug(...)
+}
<
4002
div class="CommentLoading-module__CommentLoadingContentWrapper--xxqYQ">
Metadata
Metadata
Assignees
Labels
No labels