.csv where categoryName is the name of the category that
is having the message logged to. Unlike Fmt.Sil where you pass the name
of the resource file (StringTable) LogMessageCategory does this step for
you based on the categoryName used.
Field Summary |
static java.lang.String |
CategoryDelimiter
The delimiter that is used on the command line to separate categories. |
static java.lang.String |
FQCN
The fully qualified name of this class. |
static java.lang.String |
LogDescTable
StringTable for LogMessageCategory descriptions. |
static java.lang.String |
OptionLog
A static string for command line option to turn on and off logging. |
static java.lang.String |
OptionLogWhere
A static string for the command line option to turn on and off stack
traces for a specified category and severity. |
static java.lang.String |
SeverityDelimiter
The delimiter that is used on the command line to separate the
severity from the category. |
java.lang.String |
stringTable
The name of the table file containing localization strings |
static java.lang.String |
StringTableFormat
Readonly. |
static java.lang.String |
StringTablePrefix
Readonly. |
Method Summary |
void |
addAppender(org.apache.log4j.Appender appender)
|
static java.util.List |
addAppenderFromFlags(java.lang.String flags,
org.apache.log4j.Appender appender)
Add specified Appender to loggers. |
static void |
addAppenderToLoggers(java.util.List loggers,
org.apache.log4j.Appender appender)
Add specified Appender to the loggers in a list. |
static void |
addCommonAppendersToEmptyLoggers(java.util.List loggers)
Add standard appenders to the loggers in a list, but only if the logger
has no appenders already. |
void |
callAppenders(LoggingEvent event)
Overrides the callAppenders method in org.apache.log4j.Logger. |
static void |
checkRegistration(java.lang.String loggerName,
boolean exitOnError)
See if a logger name is registered as public or private. |
static void |
convertEarlyChecks()
Log warnings about unregistered loggers that were queued up before
util logging was ready. |
void |
debug(int messageID,
java.lang.Object... args)
Print a message to this Logger. |
void |
debug(java.lang.Object a1)
Print a message to this Logger. |
void |
debug(java.lang.String message)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object[] args)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Print a message to this Logger. |
void |
debug(java.lang.String control,
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)
Print a message to this Logger. |
void |
debug(java.lang.String control,
java.lang.Throwable t)
Print a message to this Logger. |
java.lang.String |
description(java.util.Locale locale)
Returns the localized UI description for this Logger |
static java.lang.String |
description(java.lang.String name,
java.util.Locale locale)
Returns the localized UI description for a Logger. |
void |
error(int messageID)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object[] args)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1,
java.lang.Object a2)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Print a message to this Logger. |
void |
error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Print a message to this Logger. |
void |
error(int messageID,
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)
Print a message to this Logger. |
java.util.Enumeration |
getAllAppenders()
|
static org.apache.log4j.Category |
getInstance(java.lang.String name)
Gets the logger instance of the specified name. |
static org.apache.log4j.Logger |
getLogger(java.lang.String name)
Gets the logger instance of the specified name. |
void |
info(int messageID)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object[] args)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1,
java.lang.Object a2)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Print a message to this Logger. |
void |
info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Print a message to this Logger. |
void |
info(int messageID,
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)
Print a message to this Logger. |
boolean |
isPrivate()
|
static boolean |
isSuspendCheckingOn()
Return true if logger registration checking ia off. |
java.lang.String |
localizeMessage(java.lang.String messageId,
java.util.List args)
Localize a message. |
void |
makeSuppressable(java.lang.String id,
long millisecondThreshold,
org.apache.log4j.Priority suppressToLevel)
Set a particular message on this logger to be supressable. |
org.apache.log4j.Level |
printWhere()
Returns the level (severity) for printing stack traces. |
static void |
processArguments(ArgumentParser arguments)
Process the commmand line arguments that are passed. |
static java.util.List |
removeAppenderFromFlags(java.lang.String flags,
org.apache.log4j.Appender appender)
Remove specified Appender from Loggers specified in an option string. |
static void |
removeAppenderFromLoggers(java.util.List loggers,
org.apache.log4j.Appender appender)
Remove specified Appender from all Loggers in a list. |
void |
setLevel(org.apache.log4j.Level level)
|
static java.util.List |
setLevelsFromFlags(java.lang.String flags,
int type)
Set states (Levels) for Loggers from flag string. |
static void |
setLocaleToUse(java.util.Locale locale)
Set the locale by which localizable messages should be translated to. |
static void |
setSuspendChecking(boolean doSuspend)
Turn logger registration checking on or off. |
static void |
setupArguments(ArgumentParser arguments)
Add the the usage arguments to the command line parser. |
void |
warning(int messageID)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object[] args)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1,
java.lang.Object a2)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
Print a message to this Logger. |
void |
warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
Print a message to this Logger. |
void |
warning(int messageID,
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)
Print a message to this Logger. |
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 |
FQCN
public static java.lang.String FQCN
- The fully qualified name of this class.
SeverityDelimiter
public static final java.lang.String SeverityDelimiter
- The delimiter that is used on the command line to separate the
severity from the category.
- See Also:
- Constant Field Values
CategoryDelimiter
public static final java.lang.String CategoryDelimiter
- The delimiter that is used on the command line to separate categories.
- See Also:
- Constant Field Values
OptionLog
public static final java.lang.String OptionLog
- A static string for command line option to turn on and off logging.
- See Also:
- Constant Field Values
OptionLogWhere
public static final java.lang.String OptionLogWhere
- A static string for the command line option to turn on and off stack
traces for a specified category and severity.
- See Also:
- Constant Field Values
StringTablePrefix
public static final java.lang.String StringTablePrefix
- Readonly. The prefix applied to string table names.
- See Also:
StringTableFormat
,
Constant Field Values
StringTableFormat
public static final java.lang.String StringTableFormat
- Readonly. The string table where this Logger's messageIDs
can be found for localization.
- See Also:
- Constant Field Values
stringTable
public java.lang.String stringTable
- The name of the table file containing localization strings
LogDescTable
public static final java.lang.String LogDescTable
- StringTable for LogMessageCategory descriptions.
- See Also:
- Constant Field Values
description
public java.lang.String description(java.util.Locale locale)
- Returns the localized UI description for this Logger
- Parameters:
locale
- The locale to return the description for
- Returns:
- the description of the Logger
description
public static java.lang.String description(java.lang.String name,
java.util.Locale locale)
- Returns the localized UI description for a Logger.
- Parameters:
name
- The name of the Loggerlocale
- The locale to return the description for
- Returns:
- the description of the Logger
isPrivate
public boolean isPrivate()
callAppenders
public void callAppenders(LoggingEvent event)
- Overrides the callAppenders method in org.apache.log4j.Logger.
The extra code implements the necessary logic for partially additive.
setupArguments
public static void setupArguments(ArgumentParser arguments)
- Add the the usage arguments to the command line parser.
- Parameters:
arguments
- command-line arguments
processArguments
public static void processArguments(ArgumentParser arguments)
- Process the commmand line arguments that are passed.
- Parameters:
arguments
- command-line arguments
localizeMessage
public java.lang.String localizeMessage(java.lang.String messageId,
java.util.List args)
- Localize a message.
- Parameters:
messageId
- ID of this messageargs
- List of arguments to be passed to format string
setLevelsFromFlags
public static java.util.List setLevelsFromFlags(java.lang.String flags,
int type)
- Set states (Levels) for Loggers from flag string.
- Parameters:
flags
- flag stringtype
- 0
- Returns:
- List of loggers modified
setLevel
public void setLevel(org.apache.log4j.Level level)
- Overrides:
setLevel
in class org.apache.log4j.Category
getAllAppenders
public java.util.Enumeration getAllAppenders()
- Specified by:
getAllAppenders
in interface org.apache.log4j.spi.AppenderAttachable
- Overrides:
getAllAppenders
in class org.apache.log4j.Category
addAppender
public void addAppender(org.apache.log4j.Appender appender)
- Specified by:
addAppender
in interface org.apache.log4j.spi.AppenderAttachable
- Overrides:
addAppender
in class org.apache.log4j.Category
addAppenderFromFlags
public static java.util.List addAppenderFromFlags(java.lang.String flags,
org.apache.log4j.Appender appender)
- Add specified Appender to loggers.
- Parameters:
flags
- flag stringappender
- Appender to add to Loggers
- Returns:
- List of loggers added to
addAppenderToLoggers
public static void addAppenderToLoggers(java.util.List loggers,
org.apache.log4j.Appender appender)
- Add specified Appender to the loggers in a list.
- Parameters:
loggers
- list of loggers to have the appender addedappender
- Appender to add to loggers
addCommonAppendersToEmptyLoggers
public static void addCommonAppendersToEmptyLoggers(java.util.List loggers)
- Add standard appenders to the loggers in a list, but only if the logger
has no appenders already.
- Parameters:
loggers
- list of loggers to have the appenders added
removeAppenderFromLoggers
public static void removeAppenderFromLoggers(java.util.List loggers,
org.apache.log4j.Appender appender)
- Remove specified Appender from all Loggers in a list.
- Parameters:
loggers
- list of loggers to have appender removedappender
- Appender to remove from loggers
removeAppenderFromFlags
public static java.util.List removeAppenderFromFlags(java.lang.String flags,
org.apache.log4j.Appender appender)
- Remove specified Appender from Loggers specified in an option string.
- Parameters:
flags
- flag stringappender
- Appender to remove from Loggers
- Returns:
- List of loggers to have appender removed
makeSuppressable
public void makeSuppressable(java.lang.String id,
long millisecondThreshold,
org.apache.log4j.Priority suppressToLevel)
- Set a particular message on this logger to be supressable.
printWhere
public org.apache.log4j.Level printWhere()
- Returns the level (severity) for printing stack traces.
- Returns:
- Level the level for stack traces
setLocaleToUse
public static void setLocaleToUse(java.util.Locale locale)
- Set the locale by which localizable messages should be translated to.
- Parameters:
locale
- locale for message localization
getInstance
public static org.apache.log4j.Category getInstance(java.lang.String name)
- Gets the logger instance of the specified name.
- Parameters:
name
- the name of the logger
- Returns:
- the logger instance of the specified name
- See Also:
Category.getInstance(java.lang.String)
getLogger
public static org.apache.log4j.Logger getLogger(java.lang.String name)
- Gets the logger instance of the specified name.
- Parameters:
name
- the name of the logger
- Returns:
- the logger instance of the specified name
- See Also:
Logger.getLogger(java.lang.String)
checkRegistration
public static void checkRegistration(java.lang.String loggerName,
boolean exitOnError)
- See if a logger name is registered as public or private. If neither,
log a warning.
This is API private--the method is only public because it is called
from the unit tests. Clients should not need access to this.
- Parameters:
loggerName
- the name to check
isSuspendCheckingOn
public static boolean isSuspendCheckingOn()
- Return true if logger registration checking ia off.
This is not normally of interest to clients of Logger,
but (for instance) TableEdit has to suspend checking.
- Returns:
- true if logger registration is off
- See Also:
Category.getInstance(java.lang.String)
setSuspendChecking
public static void setSuspendChecking(boolean doSuspend)
- Turn logger registration checking on or off. This should not normally
be used, but TableEdit has to suspend checking.
- Parameters:
doSuspend
- true to stop checking for registration- See Also:
Category.getInstance(java.lang.String)
convertEarlyChecks
public static void convertEarlyChecks()
- Log warnings about unregistered loggers that were queued up before
util logging was ready.
- See Also:
Log
debug
public void debug(java.lang.Object a1)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
- Overrides:
debug
in class org.apache.log4j.Category
- Parameters:
a1
- the object to print
debug
public void debug(java.lang.String control,
java.lang.Object[] args)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputargs
- an array containing all arguments to the format
string control
debug
public void debug(java.lang.String control,
java.lang.Object a1)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string control
debug
public void debug(java.lang.String control,
java.lang.Throwable t)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputt
- Throwable for this log message
debug
public void debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string control
debug
public void debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string controla3
- the third argument to the format string control
debug
public void debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string controla3
- the third argument to the format string controla4
- the fourth argument to the format string control
debug
public void debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string controla3
- the third argument to the format string controla4
- the fourth argument to the format string controla5
- the fifth argument to the format string control
debug
public void debug(java.lang.String control,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string controla3
- the third argument to the format string controla4
- the fourth argument to the format string controla5
- the fifth argument to the format string controla6
- the sixth argument to the format string control
debug
public void debug(java.lang.String control,
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)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
control
- a String defining the format of the outputa1
- the first argument to the format string controla2
- the second argument to the format string controla3
- the third argument to the format string controla4
- the fourth argument to the format string controla5
- the fifth argument to the format string controla6
- the sixth argument to the format string controlmore
- additional arguments to the format string control
debug
public void debug(java.lang.String message)
- Print a message to this Logger. This will only print a
message if this Loggger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
message
- the log message
debug
public void debug(int messageID,
java.lang.Object... args)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the DEBUG level.
The control string works in the same fashion as the Fmt control
string.
- Parameters:
messageID
- ID of the message that is to be usedargs
- the first argument to the format string of messageID
info
public void info(int messageID)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be used
info
public void info(int messageID,
java.lang.Object[] args)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be usedargs
- an array containing all arguments to the format
string control
info
public void info(int messageID,
java.lang.Object a1)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageID
info
public void info(int messageID,
java.lang.Object a1,
java.lang.Object a2)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
info
public void info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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
info
public void info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageID
info
public void info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageID
info
public void info(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
info
public void info(int messageID,
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)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the INFO level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageIDmore
- additional arguments to the format string of messageID
warning
public void warning(int messageID)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be used
warning
public void warning(int messageID,
java.lang.Object[] args)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be usedargs
- an array containing all arguments to the format
string control
warning
public void warning(int messageID,
java.lang.Object a1)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageID
warning
public void warning(int messageID,
java.lang.Object a1,
java.lang.Object a2)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
warning
public void warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
The control string works in the same fashion as the Fmt control string.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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
warning
public void warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageID
warning
public void warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageID
warning
public void warning(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
warning
public void warning(int messageID,
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)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the WARN level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageIDmore
- additional arguments to the format string of messageID
error
public void error(int messageID)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be used
error
public void error(int messageID,
java.lang.Object[] args)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be usedargs
- an array containing all arguments to the format
string control
error
public void error(int messageID,
java.lang.Object a1)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageID
error
public void error(int messageID,
java.lang.Object a1,
java.lang.Object a2)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- the first argument to the format string of messageIDa2
- the second argument to the format string of messageID
error
public void error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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
error
public void error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageID
error
public void error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageID
error
public void error(int messageID,
java.lang.Object a1,
java.lang.Object a2,
java.lang.Object a3,
java.lang.Object a4,
java.lang.Object a5,
java.lang.Object a6)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageID
error
public void error(int messageID,
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)
- Print a message to this Logger. This will only print a
message if this Logger is enabled for the ERROR level.
- Parameters:
messageID
- ID of the message that is to be useda1
- 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 messageIDa4
- the fourth argument to the format string of messageIDa5
- the fifth argument to the format string of messageIDa6
- the sixth argument to the format string of messageIDmore
- additional arguments to the format string of messageID
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.