|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.ibm.di.server.Log.InternalLogger
public static class Log.InternalLogger
A collection of loggers.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Log.InternalLogger()
|
Method Summary | |
---|---|
void |
addLogger(java.lang.Object logger)
Adds the logger object to the collection of loggers. |
void |
close()
Free up all resources the loggers use and remove them from the collection. |
void |
debug(java.lang.String str)
Logs a message with level debug for each logger in the collection. |
boolean |
equals(java.lang.Object logger)
Checks whether the logger object and this InternalLogger are equal. |
void |
error(java.lang.String str)
Log a message with level error for each logger in the collection. |
void |
error(java.lang.String str,
java.lang.Throwable error)
Log a message with level error, and an additional Throwable. |
void |
fatal(java.lang.String str)
Log a message with level fatal for each logger in the collection. |
void |
fatal(java.lang.String str,
java.lang.Throwable error)
Log a message with level fatal, and an additional Throwable. |
int |
hashCode()
Returns an integer hash code. |
void |
info(java.lang.String str)
Log a message with level info for each logger in the collection. |
boolean |
isDebugEnabled()
Check if a debug message would be logged by any of the loggers. |
boolean |
isEnabledForAll()
Deprecated. |
void |
log(java.lang.String level,
java.lang.String str)
Log a message with the specified level for each logger in the collection. |
void |
removeLogger(java.lang.Object logger)
Removes a logger from the collection. |
void |
warn(java.lang.String str)
Log a message with level warning for each logger in the collection. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public Log.InternalLogger()
Method Detail |
---|
public boolean equals(java.lang.Object logger)
equals
in interface java.util.Collection
equals
in interface java.util.List
equals
in class java.util.Vector
logger
- the object to compare with this object
true
if they are equal, otherwise
false
public int hashCode()
true
when passed to equals
must answer
the same value for this method.
hashCode
in interface java.util.Collection
hashCode
in interface java.util.List
hashCode
in class java.util.Vector
public void addLogger(java.lang.Object logger)
logger
- the object to addpublic void removeLogger(java.lang.Object logger)
logger
- the object we want to removepublic void debug(java.lang.String str)
str
- the string to be loggedpublic void info(java.lang.String str)
str
- The string to be loggedpublic void warn(java.lang.String str)
str
- The string to be loggedpublic void error(java.lang.String str)
str
- The string to be loggedpublic void error(java.lang.String str, java.lang.Throwable error)
str
- The string to be loggederror
- The Throwable to be loggedpublic void fatal(java.lang.String str)
str
- The string to be loggedpublic void fatal(java.lang.String str, java.lang.Throwable error)
str
- The string to be loggederror
- The Throwable to be loggedpublic void log(java.lang.String level, java.lang.String str)
level
- The level to use when loggingstr
- The string to be loggedpublic boolean isDebugEnabled()
@Deprecated public boolean isEnabledForAll()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |