nopalmo-java/src/pkg/deepCurse/simpleLoggingGarbage/core/Log.java
deepCurse 172f86193d uploading mass code shit thing ive made so far, shouldnt need too much
detail because its the beginning of the project

Signed-off-by: deepCurse <leverplays@gmail.com>
2021-12-01 02:32:35 -04:00

29 lines
688 B
Java

package pkg.deepCurse.simpleLoggingGarbage.core;
import javax.security.auth.login.LoginException;
/**
* 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
public static void crash(Exception e) {
}
}