public class LogArchiverHelper extends Object
| Constructor and Description |
|---|
LogArchiverHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
consoleId(Object component,
ConsoleArchiver archiver)
Get the console id.
|
static LogEvent[] |
retrieveConsoleEvents(Object component,
ConsoleArchiver archiver,
Long last,
Integer max)
Get an array of the latest console events.
|
static LogEvent[] |
retrieveLogEvents(Object component,
LogArchiver archiver,
Long last,
Integer max)
Get an array of the latest log events.
|
public static LogEvent[] retrieveLogEvents(Object component, LogArchiver archiver, Long last, Integer max)
component - The componet to get log events for.archiver - The LogArchiver.last - The sequence of the last event required.max - The total number of events.public static String consoleId(Object component, ConsoleArchiver archiver)
component - The component.archiver - The ConsoleArchvier.public static LogEvent[] retrieveConsoleEvents(Object component, ConsoleArchiver archiver, Long last, Integer max)
component - The component.archiver - The ConsoleArchvier.last - The last event number.max - The maximum events required.