Skip to content

Commit

Permalink
Fix logging issue in test harness
Browse files Browse the repository at this point in the history
This was previously capturing *all* debug logs, not just those with the `'resyntax` topic.
  • Loading branch information
jackfirth committed Sep 4, 2024
1 parent 9d9a70b commit 1566a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/refactoring-test.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
(vector-builder-add logged-messages-builder (vector-ref log-entry 1)))

(define (call-with-logs-captured proc)
(with-intercepted-logging save-log #:logger resyntax-logger proc 'debug))
(with-intercepted-logging save-log #:logger resyntax-logger proc 'debug 'resyntax))

(define (build-logs-info)
(string-info (string-join (vector->list (build-vector logged-messages-builder)) "\n")))
Expand Down

0 comments on commit 1566a57

Please sign in to comment.