Examples of AEDiagnosticsLogger


Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

        commentButton.setLayoutData(gridData);
        Messages.setLanguageText(commentButton,"ConfigTransferAutoSpeed.log.button");
        commentButton.addListener(SWT.Selection, new Listener(){
            public void handleEvent(Event event){
                //Add a file to the log.
                AEDiagnosticsLogger dLog = AEDiagnostics.getLogger("AutoSpeed");
                String comment = commentBox.getText();
                if(comment!=null){
                    if( comment.length()>0){
                        dLog.log( "user-comment:"+comment );
                        commentBox.setText("");
                    }
                }
            }
        });
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

          + listener.getId() + ";" + Debug.getCompressedStackTrace());
    }
  }

  public void debug(String message) {
    AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger("v3.CMsgr");
    diag_logger.log("[" + id + "] " + message);
    if (ConstantsVuze.DIAG_TO_STDOUT) {
      System.out.println("[" + id + "] " + message);
    }
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

      System.out.println("[" + id + "] " + message);
    }
  }

  public void debug(String message, Throwable t) {
    AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger("v3.CMsgr");
    diag_logger.log("[" + id + "] " + message);
    diag_logger.log(t);
    if (ConstantsVuze.DIAG_TO_STDOUT) {
      System.err.println("[" + id + "] " + message);
      t.printStackTrace();
    }
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

  public void
  log(
    String     s,
    Throwable   e )
  {
    AEDiagnosticsLogger diag_logger = getLogger();
   
    diag_logger.log( s );
    diag_logger.log( e );
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

 
  public void
  log(
    String   s )
  {
    AEDiagnosticsLogger diag_logger = getLogger();
   
    diag_logger.log( s );
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

    debug(message, null);
  }

  public void debug(String message, Throwable t) {
    try {
      AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger("v3.CMsgr");
      String out = "[" + getListenerId() + ":" + getOperationId() + "] "
          + message;
      diag_logger.log(out);
      if (t != null) {
        diag_logger.log(t);
      }
      if (ConstantsVuze.DIAG_TO_STDOUT) {
        System.out.println(out);
        if (t != null) {
          t.printStackTrace();
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

  public static void
  log(
    String     s,
    Throwable   e )
  {
    AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger( "CNetworks" );

    diag_logger.log( s );
    diag_logger.log( e );
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

 
  public static void
  log(
    String   s )
  { 
    AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger( "CNetworks" );

    diag_logger.log( s );
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AEDiagnosticsLogger

        Map decodedMap = message.getDecodedMap();
        String loggerName = MapUtils.getMapString(decodedMap, "log-name",
            "browser");
        String text = MapUtils.getMapString(decodedMap, "text", "");
       
        AEDiagnosticsLogger diag_logger = AEDiagnostics.getLogger(loggerName);
        diag_logger.log(text);
        if (ConstantsVuze.DIAG_TO_STDOUT) {
          System.out.println(Thread.currentThread().getName() + "|"
              + System.currentTimeMillis() + "] " + text);
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.