Skip to content

Commit 41da344

Browse files
author
Alan Christie
committed
- Log.err() now logs in colour
1 parent b15c553 commit 41da344

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/groovy/Log.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ static text_normal() {
9191
*/
9292
static err(String msg) {
9393

94+
text_colour_red()
9495
println "|" + sprintf('%18s| %s', 'ERROR', msg)
96+
text_normal()
9597

9698
}

0 commit comments

Comments
 (0)