Package org.marketcetera.util.log
Class I18NMessage4P
- java.lang.Object
-
- org.marketcetera.util.log.I18NMessage
-
- org.marketcetera.util.log.I18NMessage4P
-
- All Implemented Interfaces:
Serializable
public class I18NMessage4P extends I18NMessage
An internationalized message, requiring exactly four parameters.- Since:
- 0.5.0
- Version:
- $Id: I18NMessage4P.java 17760 2018-11-14 14:54:11Z colin $
- Author:
- tlerios@marketcetera.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static StringSELF_PROXYThe logging proxy name.private static longserialVersionUID-
Fields inherited from class org.marketcetera.util.log.I18NMessage
UNKNOWN_ENTRY_ID
-
-
Constructor Summary
Constructors Constructor Description I18NMessage4P(I18NLoggerProxy loggerProxy, String messageId)Create a new I18NMessage4P instance.I18NMessage4P(I18NLoggerProxy loggerProxy, String messageId, String entryId)Create a new I18NMessage4P instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(Object category, Object p1, Object p2, Object p3, Object p4)Log a debug message.voiddebug(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)Log a debug message.voiderror(Object category, Object p1, Object p2, Object p3, Object p4)Log an error message.voiderror(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)Log an error message.intgetParamCount()Returns the number of parameters the receiver expects.StringgetText(Object p1, Object p2, Object p3, Object p4)Get the text value.StringgetText(Locale locale, Object p1, Object p2, Object p3, Object p4)Get the text value.voidinfo(Object category, Object p1, Object p2, Object p3, Object p4)Log an info message.voidinfo(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)Log an info message.voidtrace(Object category, Object p1, Object p2, Object p3, Object p4)Log a trace message.voidtrace(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)Log a trace message.voidwarn(Object category, Object p1, Object p2, Object p3, Object p4)Log a warn message.voidwarn(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)Log a warn message.-
Methods inherited from class org.marketcetera.util.log.I18NMessage
equals, getEntryId, getLoggerProxy, getMessageId, getMessageProvider, hashCode
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
SELF_PROXY
private static final String SELF_PROXY
The logging proxy name.
-
-
Constructor Detail
-
I18NMessage4P
public I18NMessage4P(I18NLoggerProxy loggerProxy, String messageId, String entryId)
Create a new I18NMessage4P instance.- Parameters:
loggerProxy- anI18NLoggerProxyvaluemessageId- aStringvalueentryId- aStringvalue- See Also:
I18NMessage(I18NLoggerProxy,String,String)
-
I18NMessage4P
public I18NMessage4P(I18NLoggerProxy loggerProxy, String messageId)
Create a new I18NMessage4P instance.- Parameters:
loggerProxy- anI18NLoggerProxyvaluemessageId- aStringvalue- See Also:
I18NMessage(I18NLoggerProxy,String)
-
-
Method Detail
-
getParamCount
public int getParamCount()
Description copied from class:I18NMessageReturns the number of parameters the receiver expects.- Specified by:
getParamCountin classI18NMessage- Returns:
- The number of parameters; -1 indicates a variable number.
-
getText
public String getText(Locale locale, Object p1, Object p2, Object p3, Object p4)
Get the text value.- Parameters:
locale- aLocalevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue- Returns:
- a
Stringvalue
-
getText
public String getText(Object p1, Object p2, Object p3, Object p4)
Get the text value.- Parameters:
p1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue- Returns:
- a
Stringvalue
-
error
public void error(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)
Log an error message.- Parameters:
category- anObjectvaluethrowable- aThrowablevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
error
public void error(Object category, Object p1, Object p2, Object p3, Object p4)
Log an error message.- Parameters:
category- anObjectvaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
warn
public void warn(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)
Log a warn message.- Parameters:
category- anObjectvaluethrowable- aThrowablevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
warn
public void warn(Object category, Object p1, Object p2, Object p3, Object p4)
Log a warn message.- Parameters:
category- anObjectvaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
info
public void info(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)
Log an info message.- Parameters:
category- anObjectvaluethrowable- aThrowablevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
info
public void info(Object category, Object p1, Object p2, Object p3, Object p4)
Log an info message.- Parameters:
category- anObjectvaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
debug
public void debug(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)
Log a debug message.- Parameters:
category- anObjectvaluethrowable- aThrowablevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
debug
public void debug(Object category, Object p1, Object p2, Object p3, Object p4)
Log a debug message.- Parameters:
category- anObjectvaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
trace
public void trace(Object category, Throwable throwable, Object p1, Object p2, Object p3, Object p4)
Log a trace message.- Parameters:
category- anObjectvaluethrowable- aThrowablevaluep1- anObjectvaluep2- anObjectvaluep3- anObjectvaluep4- anObjectvalue
-
-