03 August 2016


colored log(back) for unit tests in two steps




The goal

Make my own stuff yellow, and keep the other stuff grey.



1. src/test/resources/logback.groovy
(modify the namespace you wanna highlight as your own)




2. Add this to your build.gradle (in addition to logback):
testCompile "org.fusesource.jansi:jansi:1.12"


Done.