|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.Category
org.apache.log4j.Logger
ariba.util.log.Logger
ariba.util.log.AuditLogger
public class AuditLogger
AuditLogger is a special logger implemented to provide a framework for event
auditing. One of the major design goals is to make it easy for developers to
use. Towards this end, the API closely resembles ariba's logging API.
After all, AuditLogger is actually a subclass of Logger
.
Instead of doing something like Log.util.info(messageId, arg1, arg2,...), call Log.aribaAudit.auditInfo(messageId, Object, arg1, arg2, ...). Here, aribaAudit is a user defined 'audit logger'. The similarity between the 2 calls is evident.
The differences are:
ariba.app.server.AuditAppender
appender.
The following are the quick and easy steps of using the auditing framework, assuming we want to audit events in the app.admin component.
aribaAudit.admin, ariba.app.audit.AuditLoggerFactory
This will result in the aribaAudit.admin audit logger created with the above logger factory. It is important that the correct logger factory (and no typos please) be used.
import ariba.base.audit.AuditLogger; public static final AuditLogger aribaAuditAdmin = (AuditLogger)Logger.getLogger("aribaAudit.admin");
audit an event, example: long id = Log.aribaAudit.admin.auditInfo(1234, contextObject, "auditing an event"); if (id >= 0) { // audit logging is successful .... } else { // audit log is not successful, nothing persisted. // the value can be either a defined IgnoreNameLongValue (which basically says the audit logger is not // enabled, so nothing is done), or defined InvalidNameLongValue (which means some error happens, may // be the transaction commit fails, or some other errors). ... } The above persists an audit event specified by 'id' into a table named "AuditInfo". The detailed localized message is looked up from message code 1234 in Log.aribaAudit.admin.csv.
Field Summary | |
---|---|
static java.lang.String |
aribaAuditCommitNowName
|
static java.lang.String |
aribaAuditName
|
static java.lang.String |
FQCN
The fully qualified name of this class. |
Fields inherited from class ariba.util.log.Logger |
---|
CategoryDelimiter, LogDescTable, OptionLog, OptionLogWhere, SeverityDelimiter, stringTable, StringTableFormat, StringTablePrefix |
Constructor Summary | |
---|---|
AuditLogger(java.lang.String name,
AuditLoggerMessageFactory factory)
|
Method Summary | |
---|---|
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
int a1)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
int a1,
int a2)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
int a1,
int a2,
int a3)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
int a1,
java.lang.Object a2)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.util.List args)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
int a2)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
int a2,
int a3)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
int a3)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Audit an error message |
long |
auditError(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6,
java.lang.Object[] more)
Audit an error message |
long |
auditInfo(int messageID,
java.lang.Object contextObject)
Audit an info message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
int a1)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
int a1,
int a2)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
int a1,
int a2,
int a3)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
int a1,
java.lang.Object a2)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.util.List args)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
int a2)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
int a2,
java.lang.Object a3)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
int a3)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Audit an warning message |
long |
auditInfo(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6,
java.lang.Object[] more)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
int a1)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
int a1,
int a2)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
int a1,
int a2,
int a3)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
int a1,
java.lang.Object a2)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.util.List args)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
int a2)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
int a2,
int a3)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
int a3)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6,
java.lang.Object[] more)
Audit an warning message |
long |
auditWarning(int messageID,
java.lang.Object contextObject,
java.lang.Throwable t,
java.util.List args)
Audit an warning message |
static java.util.Iterator |
getCategories()
|
static java.lang.String |
getCategoryName(java.lang.String resource,
java.util.Locale locale)
Must return resource if the category is not found. |
static java.lang.String |
getCompletedMessage(java.util.List args,
java.lang.String name,
java.lang.String id,
java.util.Locale locale)
Given a locale, use the static resource name and arguments to materialize the final message. |
void |
setLevel(org.apache.log4j.Level level)
|
Methods inherited from class ariba.util.log.Logger |
---|
addAppender, addAppenderFromFlags, addAppenderToLoggers, addCommonAppendersToEmptyLoggers, callAppenders, checkRegistration, convertEarlyChecks, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, description, description, error, error, error, error, error, error, error, error, error, getAllAppenders, getInstance, getLogger, info, info, info, info, info, info, info, info, info, isPrivate, isSuspendCheckingOn, localizeMessage, makeSuppressable, printWhere, processArguments, removeAppenderFromFlags, removeAppenderFromLoggers, setLevelsFromFlags, setLocaleToUse, setSuspendChecking, setupArguments, warning, warning, warning, warning, warning, warning, warning, warning, warning |
Methods inherited from class org.apache.log4j.Logger |
---|
getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace |
Methods inherited from class org.apache.log4j.Category |
---|
assertLog, callAppenders, debug, error, error, exists, fatal, fatal, getAdditivity, getAppender, getChainedPriority, getCurrentCategories, getDefaultHierarchy, getEffectiveLevel, getHierarchy, getInstance, getLevel, getLoggerRepository, getName, getParent, getPriority, getResourceBundle, getRoot, info, info, isAttached, isDebugEnabled, isEnabledFor, isInfoEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setPriority, setResourceBundle, shutdown, warn, warn |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String FQCN
public static final java.lang.String aribaAuditName
public static final java.lang.String aribaAuditCommitNowName
Constructor Detail |
---|
public AuditLogger(java.lang.String name, AuditLoggerMessageFactory factory)
Method Detail |
---|
public static java.lang.String getCompletedMessage(java.util.List args, java.lang.String name, java.lang.String id, java.util.Locale locale)
args
- the values to substitute in the message template.name
- the string table name (though it may lack the StringTablePrefix).id
- the key into the string table to get the template.locale
- the locale to use for the parameters and resource.
public static java.lang.String getCategoryName(java.lang.String resource, java.util.Locale locale)
public static java.util.Iterator getCategories()
public void setLevel(org.apache.log4j.Level level)
setLevel
in class Logger
public long auditInfo(int messageID, java.lang.Object contextObject)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageID
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6, java.lang.Object[] more)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
Can be nullmore
- addtional arguments
public long auditInfo(int messageID, java.lang.Object contextObject, java.util.List args)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.args
- the argument list
public long auditInfo(int messageID, java.lang.Object contextObject, int a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
public long auditInfo(int messageID, java.lang.Object contextObject, int a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
public long auditInfo(int messageID, java.lang.Object contextObject, int a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, int a1, int a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, int a2, java.lang.Object a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
Can be null
public long auditInfo(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6, java.lang.Object[] more)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
Can be nullmore
- addtional arguments
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.util.List args)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- an associated throwableargs
- the argument list
public long auditWarning(int messageID, java.lang.Object contextObject, java.util.List args)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.args
- the argument list
public long auditWarning(int messageID, java.lang.Object contextObject, int a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, int a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, int a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
Can be null
public long auditWarning(int messageID, java.lang.Object contextObject, int a1, int a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, java.lang.Object a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
public long auditWarning(int messageID, java.lang.Object contextObject, java.lang.Object a1, int a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
Can be nulla4
- the fourth argument to the format string of messageID
Can be nulla5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, int a1)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, int a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, int a1, java.lang.Object a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
Can be null
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, int a1, int a2)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, int a1, int a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageIDa3
- the third argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, int a3)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID
Can be nulla2
- the second argument to the format string of messageID
Can be nulla3
- the third argument to the format string of messageID
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.lang.Object a1, java.lang.Object a2, java.lang.Object a3, java.lang.Object a4, java.lang.Object a5, java.lang.Object a6, java.lang.Object[] more)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
a1
- the first argument to the format string of messageID.
Can be null.a2
- the second argument to the format string of messageID
Can be null.a3
- the third argument to the format string of messageID
Can be null.a4
- the fourth argument to the format string of messageID
Can be null.a5
- the fifth argument to the format string of messageID
Can be null.a6
- the sixth argument to the format string of messageID
Can be null.more
- additional arguments to the format string of messageID
Can be null.
public long auditError(int messageID, java.lang.Object contextObject, java.lang.Throwable t, java.util.List args)
messageID
- id of the message used to localize the message.contextObject
- the context object, a cluster root (can be null) that
provides the context related to this auditing event.t
- the throwable, if any. Can be null
args
- a list of arguments to provide the details of the message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |