|
||||||||||
| 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.TestMessage
public static final class TstLogMessage.TestMessage
This is a test message and should not be used in a production environment. The parameter foo is set to ''{FOO}''. Now it''s {java.util.Date:NOW,date}. Time {java.util.Date:NOW,time}. .
This class holds the static data for the TEST_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_MESSAGE. |
static Level |
LOG_LEVEL
The LogLevel to use. |
static String |
PARAM_FOO
The parameter FOO for the log message text. |
static String |
PARAM_NOW
The parameter NOW for the log message text. |
static String |
SYMBOL
The unique symbolic String of the log message TEST_MESSAGE. |
| Fields inherited from class org.jcoderz.commons.TstLogMessage |
|---|
TEST_AUDIT_MESSAGE, TEST_MESSAGE |
| Method Summary | |
|---|---|
static Loggable |
addParameters(Loggable loggable,
String foo,
Date now)
Adds the given message parameters to the loggable. |
static void |
log(String foo,
Date now)
Logs the message "This is a test message and should not be used in a production environment. |
static void |
log(String foo,
Date now,
Throwable cause)
Logs the message "This is a test message 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_MESSAGE.
public static final String PARAM_FOO
FOO for the log message text.
public static final String PARAM_NOW
NOW for the log message text.
public static final String SYMBOL
TEST_MESSAGE.
public static final Level LOG_LEVEL
| Method Detail |
|---|
public static void log(String foo,
Date now)
foo - The foo used in the message.now - The now used in the message.
public static void log(String foo,
Date now,
Throwable cause)
foo - The foo used in the message.now - The now used in the message.cause - the Throwable that causes this message to be logged.
public static Loggable addParameters(Loggable loggable,
String foo,
Date now)
loggable - the loggable to initialize.foo - The foo used in the message.now - The now used in the message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||