예제 #1
0
  @Override
  public DataPacket execute() {

    LogUtils.log("pressed key " + keyCode);

    return null;
  }
예제 #2
0
 public static void init(Configuration config) {
   Property propDebug = config.get(Configuration.CATEGORY_GENERAL, Reference.DEBUG, true);
   propDebug.comment = Comments.DEBUG;
   Redmagic.DEBUG = propDebug.getBoolean(true);
   if (Redmagic.DEBUG) {
     redLogger = LogManager.getLogger(Reference.MOD_ID);
     LogUtils.info("Initialise Debugging...");
   }
 }