Examples of LogRelation


Examples of org.gudy.azureus2.core3.logging.LogRelation

*/
public class DownloadManagerMoveHandlerUtils {
 
    // Helper log functions.
  static void logInfo(String message, DownloadManager dm) {
    LogRelation lr = (dm instanceof LogRelation) ? (LogRelation)dm : null;
    if (lr == null) {return;}
    if (!Logger.isEnabled()) {return;}
    Logger.log(new LogEvent(lr, LogIDs.CORE, LogEvent.LT_INFORMATION, message));
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.logging.LogRelation

    if (!Logger.isEnabled()) {return;}
    Logger.log(new LogEvent(lr, LogIDs.CORE, LogEvent.LT_INFORMATION, message));
  }

  static void logWarn(String message, DownloadManager dm) {
    LogRelation lr = (dm instanceof LogRelation) ? (LogRelation)dm : null;
    if (lr == null) {return;}
    if (!Logger.isEnabled()) {return;}
    Logger.log(new LogEvent(lr, LogIDs.CORE, LogEvent.LT_WARNING, message));
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.logging.LogRelation

    if (!Logger.isEnabled()) {return;}
    Logger.log(new LogEvent(lr, LogIDs.CORE, LogEvent.LT_WARNING, message));
  }
 
  static void logError(String message, DownloadManager dm, Throwable e) {
    LogRelation lr = (dm instanceof LogRelation) ? (LogRelation)dm : null;
    if (lr == null) {return;}
    if (!Logger.isEnabled()) {return;}
    Logger.log(new LogEvent(lr, LogIDs.CORE, message, e));
  }
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.