Skip to content

Commit

Permalink
Disable macro log do not print dynamic query detected
Browse files Browse the repository at this point in the history
  • Loading branch information
patextreme committed Jul 12, 2024
1 parent 49a4351 commit e65aef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ object StaticTranslationMacro {
StaticState(query, primaryLifts, returnAction, idiom, secondaryLifts)(ast)
}

if (tryStatic.isEmpty) {
if (tryStatic.isEmpty && io.getquill.util.Messages.debugEnabled) {
val timeTaken = System.currentTimeMillis() - startTimeMs
queryPrint(PrintType.Message(s"Dynamic Query Detected (compiled in ${timeTaken}ms)"), None)
}
Expand Down

0 comments on commit e65aef5

Please sign in to comment.