Initial commit of multiasset branch
This commit is contained in:
23
src/opensesim/old_sesim/Logger.java
Normal file
23
src/opensesim/old_sesim/Logger.java
Normal file
@ -0,0 +1,23 @@
|
||||
package opensesim.old_sesim;
|
||||
|
||||
public class Logger {
|
||||
|
||||
static boolean dbg = true;
|
||||
static boolean info = true;
|
||||
|
||||
static void dbg(String s) {
|
||||
if (!dbg) {
|
||||
return;
|
||||
}
|
||||
System.out.print("DBG: ");
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
static void info(String s) {
|
||||
if (!info) {
|
||||
return;
|
||||
}
|
||||
System.out.print("INFO: ");
|
||||
System.out.println(s);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user