Skip to content
Snippets Groups Projects
Commit 2aadccaf authored by Régis Blanc's avatar Régis Blanc
Browse files

Using Logger instead of println

parent b5933720
Branches
Tags
No related merge requests found
......@@ -65,8 +65,8 @@ class InductionTactic(reporter: Reporter) extends DefaultTactic(reporter) {
new VerificationCondition(Implies(CaseClassInstanceOf(ccd, argAsVar), conditionForChild), funDef, VCKind.Postcondition, this)
case _ => scala.sys.error("Abstract class has non-case class subtype.")
}))
println("Induction tactic yields the following VCs:")
println(conditionsForEachChild.map(vc => vc.condition).mkString("\n"))
Logger.debug("Induction tactic yields the following VCs:\n" +
conditionsForEachChild.map(vc => vc.condition).mkString("\n"), 4, "induction")
conditionsForEachChild
}
case None =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment