public static void Log(Level loglevel, Exception err) { logger.log( loglevel, String.format( "[" + HelpPlusPlus.getInternalName() + "] %s", err == null ? "? unknown exception ?" : err.getMessage()), err); }
public static void Log(Level loglevel, String txt, Exception params) { if (txt == null) { Log(loglevel, params); } else { logger.log( loglevel, String.format("[" + HelpPlusPlus.getInternalName() + "] %s", txt == null ? "" : txt), (Exception) params); } }
public static void Log(Level loglevel, String txt, boolean sendReport) { logger.log( loglevel, String.format("[" + HelpPlusPlus.getInternalName() + "] %s", txt == null ? "" : txt)); }
public static void Log(String txt) { logger.log(Level.INFO, String.format("[" + HelpPlusPlus.getInternalName() + "] %s", txt)); }
public static void warning(String string) { logger.log(Level.WARNING, "[" + HelpPlusPlus.getInternalName() + "] ".concat(string)); }
public static void info(String string) { logger.log(Level.INFO, "[" + HelpPlusPlus.getInternalName() + "] ".concat(string)); }
public static void severe(String string) { logger.log(Level.SEVERE, "[" + HelpPlusPlus.getInternalName() + "] ".concat(string)); }
public static void severe(String string, Exception ex) { logger.log(Level.SEVERE, "[" + HelpPlusPlus.getInternalName() + "] " + string, ex); }