be.lassi.util
Class Loggers
java.lang.Object
be.lassi.util.Loggers
- All Implemented Interfaces:
- java.lang.Iterable<org.apache.log4j.Logger>
public class Loggers
- extends java.lang.Object
- implements java.lang.Iterable<org.apache.log4j.Logger>
Collection with log4j loggers.
Constructor Summary |
Loggers()
Constructs a new instance. |
Method Summary |
org.apache.log4j.Logger |
get(int index)
Gets the logger at given index in the collection. |
java.util.Iterator<org.apache.log4j.Logger> |
iterator()
|
int |
size()
Gets the number of loggers in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Loggers
public Loggers()
- Constructs a new instance.
get
public org.apache.log4j.Logger get(int index)
- Gets the logger at given index in the collection.
- Parameters:
index
- index in collection
- Returns:
- the logger at given index
iterator
public java.util.Iterator<org.apache.log4j.Logger> iterator()
-
- Specified by:
iterator
in interface java.lang.Iterable<org.apache.log4j.Logger>
size
public int size()
- Gets the number of loggers in the collection.
- Returns:
- the number of loggers