mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Implemented --log 0
This commit is contained in:
parent
a6e8dbabb1
commit
014802e272
18 changed files with 76 additions and 103 deletions
|
@ -36,6 +36,7 @@ public class Main {
|
|||
|
||||
private final Properties wrapperProperties = new Properties();
|
||||
|
||||
private static int logQuietLevel = 0;
|
||||
private static int logLevel = 1;
|
||||
private boolean noOverwrite = false;
|
||||
|
||||
|
@ -487,7 +488,7 @@ public class Main {
|
|||
}
|
||||
|
||||
private static void p(int level, String s, boolean newLine) {
|
||||
if (level <= logLevel) {
|
||||
if (level != logQuietLevel && level <= logLevel) {
|
||||
if (newLine) System.out.println(s);
|
||||
else System.out.print(s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue