Skip to content
Snippets Groups Projects
Commit 522d4c5e authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Reporter prints prefix on every line

parent bc56cb23
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ class DefaultReporter(debugSections: Set[DebugSection]) extends Reporter(debugSe
}
protected def reline(pfx: String, msg: String) : String = {
pfx+" "+msg.replaceAll("\n", "\n" + (" " * prefixSize))
pfx+" "+msg.replaceAll("\n", s"\n$pfx ")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment