Esempio n. 1
0
 public void registerDefault() {
   /* TODO register default log sinks */
   EventLogger.register(ID, "Jillian", EventLogger.VIEWER_STRING);
 }
 public EventLogAppender(String pName, String pType, int pThreshold, String pDestination) {
   super(pName, pType, pThreshold, pDestination);
   guid = StringUtilities.stringHashToLong(pDestination);
   EventLogger.register(guid, pDestination, EventLogger.VIEWER_STRING);
 }
 /**
  * Entry point for the application
  *
  * @param args Command line arguments (not used)
  */
 public static void main(final String[] args) {
   EventLogger.register(0x9876543212345L, "GPSAdvancedDemo", EventLogger.VIEWER_STRING);
   final GPSDemoAdvanced app = new GPSDemoAdvanced();
   app.enterEventDispatcher();
 }