From 05b5e7abf6bbe51903caf2502dd1ba4eacfd672d Mon Sep 17 00:00:00 2001 From: Henry Coles Date: Fri, 17 Sep 2021 15:56:51 +0100 Subject: [PATCH] Add more verbosity options --- README.md | 1 + pitest/src/main/java/org/pitest/util/Verbosity.java | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b39175645..1d64e834a 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Read all about it at http://pitest.org ### 1.7.1 (unreleased) * #932 Improve switch mutation descriptions +* #934 Configure console output verbosity ### 1.7.0 diff --git a/pitest/src/main/java/org/pitest/util/Verbosity.java b/pitest/src/main/java/org/pitest/util/Verbosity.java index f674f60c4..c9daeb761 100644 --- a/pitest/src/main/java/org/pitest/util/Verbosity.java +++ b/pitest/src/main/java/org/pitest/util/Verbosity.java @@ -4,8 +4,11 @@ public enum Verbosity { QUIET(MinionLogging.DONT_SHOW, false, Level.SEVERE), - VERBOSE(MinionLogging.SHOW, true, Level.FINEST), - DEFAULT(MinionLogging.DONT_SHOW, true, Level.INFO); + QUIET_WITH_PROGRESS(MinionLogging.DONT_SHOW, true, Level.SEVERE), + DEFAULT(MinionLogging.DONT_SHOW, true, Level.INFO), + NO_SPINNER(MinionLogging.DONT_SHOW, false, Level.INFO), + VERBOSE_NO_SPINNER(MinionLogging.SHOW, false, Level.FINEST), + VERBOSE(MinionLogging.SHOW, true, Level.FINEST); private final MinionLogging minion; private final boolean showSpinner;