ariba.util.log
Class Logger
java.lang.Object
org.apache.log4j.Category
org.apache.log4j.Logger
ariba.util.log.Logger
- All Implemented Interfaces:
- org.apache.log4j.spi.AppenderAttachable
- Direct Known Subclasses:
- AuditLogger
public class Logger
- extends org.apache.log4j.Logger
This class provides additional functionality over the Logger class provided in Log4j.
Instances of this class are obtained through the static getLogger() method.
For the levels INFO, WARN, and ERROR, the messages are
internationalized and require a messageID for their first
parameter. This parameter will be used to lookup the message in a known
resource file. The resource file can be found by looking for the file
Log..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.
|
Method Summary |
void |
addAppender(org.apache.log4j.Appender appender)
|
static List |
addAppenderFromFlags(String flags,
org.apache.log4j.Appender appender)
Add specified Appender to loggers. |
static void |
addAppenderToLoggers(List loggers,
org.apache.log4j.Appender appender)
Add specified Appender to the loggers in a list. |
static void |
addCommonAppendersToEmptyLoggers(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(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(Object a1)
Print a message to this Logger. |
void |
debug(String message)
Print a message to this Logger. |
void |
debug(String control,
int a1)
Print a message to this Logger. |
void |
debug(String control,
int a1,
int a2)
Print a message to this Logger. |
void |
debug(String control,
int a1,
int a2,
int a3)
Print a message to this Logger. |
void |
debug(String control,
int a1,
int a2,
Object a3)
Print a message to this Logger. |
void |
debug(String control,
int a1,
Object a2)
Print a message to this Logger. |
void |
debug(String control,
Object a1)
Print a message to this Logger. |
void |
debug(String control,
Object[] args)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
int a2)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
int a2,
int a3)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
int a2,
int a3,
int a4)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
int a2,
Object a3)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
int a3)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
Object a3)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
Object a3,
Object a4)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6)
Print a message to this Logger. |
void |
debug(String control,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
Object[] more)
Print a message to this Logger. |
void |
debug(String control,
Throwable t)
Print a message to this Logger. |
String |
description(Locale locale)
Returns the localized UI description for this Logger |
static String |
description(String name,
Locale locale)
Returns the localized UI description for a Logger. |
void |
error(int messageID)
Print a message to this Logger. |
void |
error(int messageID,
int a1)
Print a message to this Logger. |
void |
error(int messageID,
int a1,
int a2)
Print a message to this Logger. |
void |
error(int messageID,
int a1,
int a2,
int a3)
Print a message to this Logger. |
void |
error(int messageID,
int a1,
Object a2)
Print a message to this Logger. |
void |
error(int messageID,
Object a1)
Print a message to this Logger. |
void |
error(int messageID,
Object[] args)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
int a2)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
int a2,
int a3)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
int a3)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
Object a3)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
Object a3,
Object a4)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6)
Print a message to this Logger. |
void |
error(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
Object[] more)
Print a message to this Logger. |
Enumeration |
getAllAppenders()
|
static org.apache.log4j.Category |
getInstance(String name)
Gets the logger instance of the specified name. |
static org.apache.log4j.Logger |
getLogger(String name)
Gets the logger instance of the specified name. |
void |
info(int messageID)
Print a message to this Logger. |
void |
info(int messageID,
int a1)
Print a message to this Logger. |
void |
info(int messageID,
int a1,
int a2)
Print a message to this Logger. |
void |
info(int messageID,
int a1,
int a2,
int a3)
Print a message to this Logger. |
void |
info(int messageID,
int a1,
Object a2)
Print a message to this Logger. |
void |
info(int messageID,
Object a1)
Print a message to this Logger. |
void |
info(int messageID,
Object[] args)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
int a2)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
int a2,
Object a3)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
int a3)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
Object a3)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
Object a3,
Object a4)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6)
Print a message to this Logger. |
void |
info(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
Object[] more)
Print a message to this Logger. |
boolean |
isPrivate()
|
static boolean |
isSuspendCheckingOn()
Return true if logger registration checking ia off. |
String |
localizeMessage(String messageId,
List args)
Localize a message. |
void |
makeSuppressable(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 List |
removeAppenderFromFlags(String flags,
org.apache.log4j.Appender appender)
Remove specified Appender from Loggers specified in an option string. |
static void |
removeAppenderFromLoggers(List loggers,
org.apache.log4j.Appender appender)
Remove specified Appender from all Loggers in a list. |
void |
setLevel(org.apache.log4j.Level level)
|
static List |
setLevelsFromFlags(String flags,
int type)
Set states (Levels) for Loggers from flag string. |
static void |
setLocaleToUse(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,
int a1)
Print a message to this Logger. |
void |
warning(int messageID,
int a1,
int a2)
Print a message to this Logger. |
void |
warning(int messageID,
int a1,
int a2,
int a3)
Print a message to this Logger. |
void |
warning(int messageID,
int a1,
Object a2)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1)
Print a message to this Logger. |
void |
warning(int messageID,
Object[] args)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
int a2)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
int a2,
int a3)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
int a3)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
Object a3)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
Object a3,
Object a4)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6)
Print a message to this Logger. |
void |
warning(int messageID,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
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 |
FQCN
public static String FQCN
- The fully qualified name of this class.
SeverityDelimiter
public static final 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 String CategoryDelimiter
- The delimiter that is used on the command line to separate categories.
- See Also:
- Constant Field Values
OptionLog
public static final String OptionLog
- A static string for command line option to turn on and off logging.
- See Also:
- Constant Field Values
OptionLogWhere
public static final 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 String StringTablePrefix
- Readonly. The prefix applied to string table names.
- See Also:
StringTableFormat,
Constant Field Values
StringTableFormat
public static final String StringTableFormat
- Readonly. The string table where this Logger's messageIDs
can be found for localization.
- See Also:
- Constant Field Values
stringTable
public String stringTable
- The name of the table file containing localization strings
LogDescTable
public static final String LogDescTable
- StringTable for LogMessageCategory descriptions.
- See Also:
- Constant Field Values
description
public String description(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 String description(String name,
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 String localizeMessage(String messageId,
List args)
- Localize a message.
- Parameters:
messageId - ID of this messageargs - List of arguments to be passed to format string
setLevelsFromFlags
public static List setLevelsFromFlags(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 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 List addAppenderFromFlags(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(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(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(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 List removeAppenderFromFlags(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(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(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(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(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(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(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(String control,
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(String control,
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(String control,
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(String control,
Object a1,
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(String control,
Object a1,
Object a2,
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(String control,
Object a1,
Object a2,
Object a3,
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(String control,
Object a1,
Object a2,
Object a3,
Object a4,
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(String control,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
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(String control,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
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(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(String control,
int 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(String control,
int a1,
int 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(String control,
int a1,
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(String control,
int a1,
int a2,
int 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(String control,
int a1,
int a2,
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(String control,
Object a1,
int 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(String control,
Object a1,
Object a2,
int 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(String control,
Object a1,
int a2,
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(String control,
Object a1,
int a2,
int a3,
int 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(String control,
Object a1,
int a2,
int 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
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,
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,
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,
Object a1,
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,
Object a1,
Object a2,
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,
Object a1,
Object a2,
Object a3,
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,
Object a1,
Object a2,
Object a3,
Object a4,
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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
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
info
public void info(int messageID,
int 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,
int a1,
int 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,
int a1,
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,
int a1,
int a2,
int 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,
Object a1,
int 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,
Object a1,
int a2,
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,
Object a1,
Object a2,
int 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
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,
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,
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,
Object a1,
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,
Object a1,
Object a2,
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,
Object a1,
Object a2,
Object a3,
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,
Object a1,
Object a2,
Object a3,
Object a4,
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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
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
warning
public void warning(int messageID,
int 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,
int a1,
int a2)
- 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 messageID
warning
public void warning(int messageID,
Object a1,
int a2)
- 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 messageID
warning
public void warning(int messageID,
int a1,
Object a2)
- 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 messageID
warning
public void warning(int messageID,
int a1,
int a2,
int a3)
- 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 messageID
warning
public void warning(int messageID,
Object a1,
Object a2,
int a3)
- 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 messageID
warning
public void warning(int messageID,
Object a1,
int a2,
int a3)
- 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 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,
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,
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,
Object a1,
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,
Object a1,
Object a2,
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,
Object a1,
Object a2,
Object a3,
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,
Object a1,
Object a2,
Object a3,
Object a4,
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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
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,
int 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,
Object a1,
int 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,
Object a1,
int a2,
int 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,
int a1,
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,
int a1,
int 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,
int a1,
int a2,
int 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,
Object a1,
Object a2,
int 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,
Object a1,
Object a2,
Object a3,
Object a4,
Object a5,
Object a6,
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-2009 Ariba, Inc. All Rights Reserved.