Allow passing object to log.debug
Its annoying trying to use debug logging to log things that arent already strings
@@ -20,6 +20,10 @@ public class Log{
log(LogLevel.debug, text, args);
}
+ public static void debug(Object object){
+ debug(String.valueOf(object), empty);
+ }
+
public static void infoList(Object... args){
if(level.ordinal() > LogLevel.info.ordinal()) return;
StringBuilder build = new StringBuilder();
