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.

1 comment:

  1. Such sites are important because they provide a large dose of useful information ... bitcoin converter widget

    ReplyDelete