fix: use shadow jar in app bundle to reduce jars count (#1868)
This commit is contained in:
@@ -74,6 +74,8 @@ public class JCommanderWrapper<T> {
|
||||
}
|
||||
|
||||
public void printUsage() {
|
||||
LogHelper.setLogLevel(LogHelper.LogLevelEnum.ERROR); // mute logger while printing help
|
||||
|
||||
// print usage in not sorted fields order (by default sorted by description)
|
||||
PrintStream out = System.out;
|
||||
out.println();
|
||||
|
||||
@@ -51,6 +51,11 @@ public class LogHelper {
|
||||
return args.logLevel;
|
||||
}
|
||||
|
||||
public static void setLogLevel(LogLevelEnum newLogLevel) {
|
||||
logLevelValue = newLogLevel;
|
||||
applyLogLevel(logLevelValue);
|
||||
}
|
||||
|
||||
public static void setLogLevelsForLoadingStage() {
|
||||
if (logLevelValue == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user