alma::acs::logging::LogRecordComparator Class Reference
List of all members.
Detailed Description
Comparator for LogRecord objects, which uses the log level, timestamp, and log sequence number for comparison.
From PriorityQueue: "The head of this queue is the least element with respect to the specified ordering.". Since we want the most important and oldest log messages first at the head, a higher level value and a smaller time value will result in a lower ordering position. Level takes precedence over time.
- Author:
- hsommer created Apr 19, 2005 2:02:34 PM
Constructor & Destructor Documentation
| alma::acs::logging::LogRecordComparator::LogRecordComparator |
( |
|
) |
[inline, package] |
| alma::acs::logging::LogRecordComparator::LogRecordComparator |
( |
boolean |
timeOnly |
) |
[inline, package] |
Member Function Documentation
| int alma::acs::logging::LogRecordComparator::compare |
( |
LogRecord |
lr1, |
|
|
LogRecord |
lr2 | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: