testing .gitignore
This commit is contained in:
parent
c95e1fccab
commit
06b8ce1c5b
3 changed files with 34 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/bin/
|
/bin/
|
||||||
|
/src/pkg/deepCurse/nopalmo/core/TokenVault.java
|
||||||
|
|
|
@ -1,11 +1,18 @@
|
||||||
package pkg.deepCurse.nopalmo.core;
|
package pkg.deepCurse.nopalmo.core;
|
||||||
|
|
||||||
|
import pkg.deepCurse.simpleLoggingGarbage.core.Log;
|
||||||
|
|
||||||
public class Boot {
|
public class Boot {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
Log.boot("Booting. . .");
|
||||||
|
|
||||||
|
long preBootTime = System.currentTimeMillis();
|
||||||
|
|
||||||
System.out.println("ech");
|
|
||||||
|
|
||||||
|
|
||||||
|
long bootTime = System.currentTimeMillis() - preBootTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
25
src/pkg/deepCurse/simpleLoggingGarbage/core/Log.java
Normal file
25
src/pkg/deepCurse/simpleLoggingGarbage/core/Log.java
Normal 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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue