Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unnecessary -loglevel option for now

  • Loading branch information...
commit b3f7242524cded78b42579620ad80ea316b31f25 1 parent 74882d0
@jrosdahl jrosdahl authored
Showing with 1 addition and 10 deletions.
  1. +1 −10 src/com/enea/jcarder/analyzer/Analyzer.java
View
11 src/com/enea/jcarder/analyzer/Analyzer.java
@@ -62,7 +62,7 @@
private boolean mIncludePackages = false;
private boolean mPrintDetails = false;
private Logger mLogger;
- private Level mLogLevel = Logger.Level.INFO;
+ final private Level mLogLevel = Logger.Level.INFO;
private String mInputDirectory = ".";
public static void main(String[] args) {
@@ -221,10 +221,6 @@ private void configureOptionParser(OptionParser op) {
+ " current directory)");
op.addOption("-includepackages",
"Include packages (not only class names) in graph");
- op.addOption("-loglevel <level>",
- "Set log level to <level> (one of "
- + Logger.Level.getEnumeration()
- + ")");
op.addOption("-outputmode <mode>",
"Set output mode to <mode> (one of ALL, CYCLES, MTCYCLES);"
+ " ALL: include everything;"
@@ -246,11 +242,6 @@ private void handleOptions(OptionParser op) {
mInputDirectory = options.get(option);
} else if (option.equals("-includepackages")) {
mIncludePackages = true;
- } else if (option.equals("-loglevel")) {
- mLogLevel = Logger.Level.fromString(options.get(option));
- if (mLogLevel == null) {
- handleBadOption(op, "bad log level");
- }
} else if (option.equals("-outputmode")) {
String value = options.get(option);
if (value.equalsIgnoreCase("all")) {
Please sign in to comment.
Something went wrong with that request. Please try again.