[jboss-svn-commits] JBoss Common SVN: r4215 - jboss-logging/trunk/src/main/java/org/jboss/logging.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Apr 5 15:32:00 EDT 2010
Author: david.lloyd at jboss.com
Date: 2010-04-05 15:32:00 -0400 (Mon, 05 Apr 2010)
New Revision: 4215
Modified:
jboss-logging/trunk/src/main/java/org/jboss/logging/Logger.java
Log:
Remove int-key API because we will not be using that API after all
Modified: jboss-logging/trunk/src/main/java/org/jboss/logging/Logger.java
===================================================================
--- jboss-logging/trunk/src/main/java/org/jboss/logging/Logger.java 2010-04-04 20:37:43 UTC (rev 4214)
+++ jboss-logging/trunk/src/main/java/org/jboss/logging/Logger.java 2010-04-05 19:32:00 UTC (rev 4215)
@@ -108,22 +108,6 @@
* @param thrown the exception which was thrown, if any
*/
protected abstract void doLogf(Level level, String loggerClassName, String format, Object[] parameters, Throwable thrown);
-
- private static String key(String prefix, int id) {
- StringBuilder b = new StringBuilder(32);
- b.append(prefix).append('-');
- if (id < 10) {
- b.append("0000");
- } else if (id < 100) {
- b.append("000");
- } else if (id < 1000) {
- b.append("00");
- } else if (id < 10000) {
- b.append('0');
- }
- b.append(id);
- return b.toString();
- }
/**
* Check to see if the {@code TRACE} level is enabled for this logger.
@@ -404,257 +388,6 @@
}
/**
- * Issue a log message from a numerical key with a level of TRACE.
- *
- * @param key the numerical key
- */
- public void tracek(int key) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of TRACE.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void tracek(Throwable t, int key) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void tracekv(int key, Object... params) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void tracekv(int key, Object param1) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void tracekv(int key, Object param1, Object param2) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void tracekv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void tracekv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void tracekv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void tracekv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void tracekv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void tracekf(int key, Object... params) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void tracekf(int key, Object param1) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void tracekf(int key, Object param1, Object param2) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void tracekf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void tracekf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.TRACE)) {
- doLog(Level.TRACE, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void tracekf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void tracekf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of TRACE. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void tracekf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.TRACE)) {
- doLogf(Level.TRACE, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Check to see if the {@code DEBUG} level is enabled for this logger.
*
* @return {@code true} if messages logged at {@link Level#DEBUG} may be accepted, {@code false} otherwise
@@ -933,257 +666,6 @@
}
/**
- * Issue a log message from a numerical key with a level of DEBUG.
- *
- * @param key the numerical key
- */
- public void debugk(int key) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of DEBUG.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void debugk(Throwable t, int key) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void debugkv(int key, Object... params) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void debugkv(int key, Object param1) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void debugkv(int key, Object param1, Object param2) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void debugkv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void debugkv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void debugkv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void debugkv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void debugkv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void debugkf(int key, Object... params) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void debugkf(int key, Object param1) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void debugkf(int key, Object param1, Object param2) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void debugkf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void debugkf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.DEBUG)) {
- doLog(Level.DEBUG, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void debugkf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void debugkf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of DEBUG. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void debugkf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.DEBUG)) {
- doLogf(Level.DEBUG, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Check to see if the {@code INFO} level is enabled for this logger.
*
* @return {@code true} if messages logged at {@link Level#INFO} may be accepted, {@code false} otherwise
@@ -1462,257 +944,6 @@
}
/**
- * Issue a log message from a numerical key with a level of INFO.
- *
- * @param key the numerical key
- */
- public void infok(int key) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of INFO.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void infok(Throwable t, int key) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void infokv(int key, Object... params) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void infokv(int key, Object param1) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void infokv(int key, Object param1, Object param2) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void infokv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void infokv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void infokv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void infokv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void infokv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void infokf(int key, Object... params) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void infokf(int key, Object param1) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void infokf(int key, Object param1, Object param2) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void infokf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void infokf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.INFO)) {
- doLog(Level.INFO, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void infokf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void infokf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of INFO. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void infokf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.INFO)) {
- doLogf(Level.INFO, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Issue a log message with a level of WARN.
*
* @param message the message
@@ -1982,257 +1213,6 @@
}
/**
- * Issue a log message from a numerical key with a level of WARN.
- *
- * @param key the numerical key
- */
- public void warnk(int key) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of WARN.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void warnk(Throwable t, int key) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void warnkv(int key, Object... params) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void warnkv(int key, Object param1) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void warnkv(int key, Object param1, Object param2) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void warnkv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void warnkv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void warnkv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void warnkv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void warnkv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void warnkf(int key, Object... params) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void warnkf(int key, Object param1) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void warnkf(int key, Object param1, Object param2) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void warnkf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void warnkf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.WARN)) {
- doLog(Level.WARN, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void warnkf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void warnkf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of WARN. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void warnkf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.WARN)) {
- doLogf(Level.WARN, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Issue a log message with a level of ERROR.
*
* @param message the message
@@ -2502,257 +1482,6 @@
}
/**
- * Issue a log message from a numerical key with a level of ERROR.
- *
- * @param key the numerical key
- */
- public void errork(int key) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of ERROR.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void errork(Throwable t, int key) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void errorkv(int key, Object... params) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void errorkv(int key, Object param1) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void errorkv(int key, Object param1, Object param2) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void errorkv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void errorkv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void errorkv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void errorkv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void errorkv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void errorkf(int key, Object... params) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void errorkf(int key, Object param1) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void errorkf(int key, Object param1, Object param2) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void errorkf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void errorkf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.ERROR)) {
- doLog(Level.ERROR, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void errorkf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void errorkf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of ERROR. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void errorkf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.ERROR)) {
- doLogf(Level.ERROR, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Issue a log message with a level of FATAL.
*
* @param message the message
@@ -3022,257 +1751,6 @@
}
/**
- * Issue a log message from a numerical key with a level of FATAL.
- *
- * @param key the numerical key
- */
- public void fatalk(int key) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key with a level of FATAL.
- *
- * @param key the numerical key
- * @param t the throwable
- */
- public void fatalk(Throwable t, int key) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void fatalkv(int key, Object... params) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void fatalkv(int key, Object param1) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void fatalkv(int key, Object param1, Object param2) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void fatalkv(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void fatalkv(Throwable t, int key, Object... params) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void fatalkv(Throwable t, int key, Object param1) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void fatalkv(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void fatalkv(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param params the parameters
- */
- public void fatalkf(int key, Object... params) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void fatalkf(int key, Object param1) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void fatalkf(int key, Object param1, Object param2) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void fatalkf(int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void fatalkf(Throwable t, int key, Object... params) {
- if (isEnabled(Level.FATAL)) {
- doLog(Level.FATAL, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void fatalkf(Throwable t, int key, Object param1) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void fatalkf(Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key with a level of FATAL. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void fatalkf(Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(Level.FATAL)) {
- doLogf(Level.FATAL, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Log a message at the given level.
*
* @param level the level
@@ -3564,275 +2042,6 @@
}
/**
- * Issue a log message from a numerical key at the given log level.
- *
- * @param level the level
- * @param key the numerical key
- */
- public void logk(Level level, int key) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), null, null);
- }
- }
-
- /**
- * Issue a log message from a numerical key at the given log level.
- *
- * @param level the level
- * @param key the numerical key
- * @param t the throwable
- */
- public void logk(Level level, Throwable t, int key) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), null, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param params the parameters
- */
- public void logkv(Level level, int key, Object... params) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void logkv(Level level, int key, Object param1) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void logkv(Level level, int key, Object param1, Object param2) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void logkv(Level level, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void logkv(Level level, Throwable t, int key, Object... params) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void logkv(Level level, Throwable t, int key, Object param1) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void logkv(Level level, Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.text.MessageFormat}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void logkv(Level level, Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param params the parameters
- */
- public void logkf(Level level, int key, Object... params) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), params, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void logkf(Level level, int key, Object param1) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void logkf(Level level, int key, Object param1, Object param2) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1, param2 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void logkf(Level level, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, null);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param params the parameters
- */
- public void logkf(Level level, Throwable t, int key, Object... params) {
- if (isEnabled(level)) {
- doLog(level, FQCN, key(prefix, key), params, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the sole parameter
- */
- public void logkf(Level level, Throwable t, int key, Object param1) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- */
- public void logkf(Level level, Throwable t, int key, Object param1, Object param2) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1, param2 }, t);
- }
- }
-
- /**
- * Issue a parameterized log message from a numerical key at the given log level. The resource value should be a
- * {@link java.util.Formatter}-style format string.
- *
- * @param level the level
- * @param t the throwable
- * @param key the numerical key
- * @param param1 the first parameter
- * @param param2 the second parameter
- * @param param3 the third parameter
- */
- public void logkf(Level level, Throwable t, int key, Object param1, Object param2, Object param3) {
- if (isEnabled(level)) {
- doLogf(level, FQCN, key(prefix, key), new Object[] { param1, param2, param3 }, t);
- }
- }
-
- /**
* Log a message at the given level.
*
* @param loggerFqcn the logger class name
More information about the jboss-svn-commits
mailing list