|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogFilter
This interface provides utility methods for getting the LogEntries from the LogService. Instead of getting all entries via the LogReaderService and going through them to get what's needed, you can use the methods provided here:
- to get the logs logged for a period of time.
| Method Summary | |
|---|---|
java.util.Enumeration |
getLogsById(long id)
Gets the LogEntries logged by the bundle with the given id. |
java.util.Enumeration |
getLogsByTime(long t1,
long t2)
Gets the LogEntries logged during the period specified by
t1 and t2 - time in milliseconds. |
| Method Detail |
|---|
java.util.Enumeration getLogsById(long id)
LogEntries logged by the bundle with the given id.
id - the Bundle Id
LogEntry objects. If no such
LogEntries are available - an empty enumeration is returned.
java.util.Enumeration getLogsByTime(long t1,
long t2)
LogEntries logged during the period specified by
t1 and t2 - time in milliseconds.
t1 - first time limitt2 - last time limit
LogEntry objects. If no such
LogEntries are available - an empty enumeration is returned.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||