|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.LogMessageInfoImpl
org.jcoderz.commons.TstLogMessage
org.jcoderz.commons.TstLogMessage.TestAuditMessage
public static final class TstLogMessage.TestAuditMessage
This is a test audit event and should not be used in a production environment. .
This class holds the static data for the TEST_AUDIT_MESSAGE
log message.
It holds the following parameters:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jcoderz.commons.TstLogMessage |
|---|
TstLogMessage.TestAuditMessage, TstLogMessage.TestMessage |
| Field Summary | |
|---|---|
static int |
INT_VALUE
The unique integer value of the log message TEST_AUDIT_MESSAGE. |
static Level |
LOG_LEVEL
The LogLevel to use. |
static String |
SYMBOL
The unique symbolic String of the log message TEST_AUDIT_MESSAGE. |
| Fields inherited from class org.jcoderz.commons.TstLogMessage |
|---|
TEST_AUDIT_MESSAGE, TEST_MESSAGE |
| Method Summary | |
|---|---|
static Loggable |
addParameters(Loggable loggable)
Adds the given message parameters to the loggable. |
static AuditLogEvent |
create(AuditPrincipal auditPrincipal)
Creates the audit log event "This is a test audit event and should not be used in a production environment." |
static AuditLogEvent |
create(AuditPrincipal auditPrincipal,
Throwable cause)
Creates the audit log event "This is a test audit event and should not be used in a production environment." |
static void |
log(AuditPrincipal auditPrincipal)
Logs the message "This is a test audit event and should not be used in a production environment." |
static void |
log(AuditPrincipal auditPrincipal,
Throwable cause)
Logs the message "This is a test audit event and should not be used in a production environment." |
| Methods inherited from class org.jcoderz.commons.TstLogMessage |
|---|
fromInt, fromString |
| Methods inherited from class org.jcoderz.commons.LogMessageInfoImpl |
|---|
formatMessage, getAppName, getAppNameAbbreviation, getBusinessImpact, getCategory, getGroupName, getGroupNameAbbreviation, getLogLevel, getMessagePattern, getParameterList, getSolution, getSymbol, toInt, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INT_VALUE
TEST_AUDIT_MESSAGE.
public static final String SYMBOL
TEST_AUDIT_MESSAGE.
public static final Level LOG_LEVEL
| Method Detail |
|---|
public static void log(AuditPrincipal auditPrincipal)
auditPrincipal - The audit principal that causes this
log event.
public static void log(AuditPrincipal auditPrincipal,
Throwable cause)
auditPrincipal - The audit principal that causes this
log event.cause - the Throwable that causes this message to be logged.public static AuditLogEvent create(AuditPrincipal auditPrincipal)
auditPrincipal - The audit principal that causes this
log event.
public static AuditLogEvent create(AuditPrincipal auditPrincipal,
Throwable cause)
auditPrincipal - The audit principal that causes this
log event.cause - the Throwable that causes this message to be logged.public static Loggable addParameters(Loggable loggable)
loggable - the loggable to initialize.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||