Пример #1
0
 public void error(
     final Object iRequester,
     final String iMessage,
     final Throwable iException,
     final Object... iAdditionalArgs) {
   if (isErrorEnabled()) log(iRequester, Level.SEVERE, iMessage, iException, iAdditionalArgs);
 }
Пример #2
0
 public void warn(
     final Object iRequester,
     final String iMessage,
     final Throwable iException,
     final Object... iAdditionalArgs) {
   if (isWarnEnabled()) log(iRequester, Level.WARNING, iMessage, iException, iAdditionalArgs);
 }
Пример #3
0
 public void info(
     final Object iRequester,
     final String iMessage,
     final Throwable iException,
     final Object... iAdditionalArgs) {
   if (isInfoEnabled()) log(iRequester, Level.INFO, iMessage, iException, iAdditionalArgs);
 }
Пример #4
0
 public void debug(
     final Object iRequester,
     final String iMessage,
     final Throwable iException,
     final Object... iAdditionalArgs) {
   if (isDebugEnabled()) log(iRequester, Level.FINE, iMessage, iException, iAdditionalArgs);
 }
Пример #5
0
 public void log(
     final Object iRequester,
     final Level iLevel,
     final TYPE iType,
     final DIRECTION iDirection,
     final String iMessage,
     final Throwable iException,
     final Object... iAdditionalArgs) {
   if (logger.isLevelEnabled(iLevel))
     logger.log(
         iRequester,
         iLevel,
         formatMessage(iType, iDirection, iMessage),
         iException,
         iAdditionalArgs);
 }
Пример #6
0
 public void error(
     final Object iRequester, final String iMessage, final Object... iAdditionalArgs) {
   log(iRequester, Level.SEVERE, iMessage, null, iAdditionalArgs);
 }
Пример #7
0
 public void config(
     final Object iRequester, final String iMessage, final Object... iAdditionalArgs) {
   log(iRequester, Level.CONFIG, iMessage, null, iAdditionalArgs);
 }