testing .gitignore

This commit is contained in:
deepCurse 2021-11-29 13:12:36 -04:00
parent c95e1fccab
commit 06b8ce1c5b
3 changed files with 34 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/bin/
/src/pkg/deepCurse/nopalmo/core/TokenVault.java

View file

@ -1,11 +1,18 @@
package pkg.deepCurse.nopalmo.core;
import pkg.deepCurse.simpleLoggingGarbage.core.Log;
public class Boot {
public static void main(String[] args) {
Log.boot("Booting. . .");
long preBootTime = System.currentTimeMillis();
System.out.println("ech");
long bootTime = System.currentTimeMillis() - preBootTime;
}
}

View file

@ -0,0 +1,25 @@
package pkg.deepCurse.simpleLoggingGarbage.core;
/**
* this class exists for the sole reason of im lazy, as far as i know, this is
* really bad practice and i will replace it at some point, or at least upgrade
* it, who knows really
*
* @author deepCurse
*/
public class Log {
public static int loggerLevel = 0;
//@formatter:off
public static boolean bootEnabled = true;
public static void boot(String text) {
boot(text,0);
}
public static void boot(String text, int level) {
if (bootEnabled && level <= loggerLevel) {
System.out.println(text);
}
}
//@formatter:on
}