Package | Description |
---|---|
com.lightysoft.logmx.api |
Package containing API classes not related to Log Parsers and Log Managers
|
com.lightysoft.logmx.mgr |
Package containing abstract classes that Parsers and Managers have to extend
|
Modifier and Type | Method and Description |
---|---|
static Map<String,List<? extends ParsedEntry>> |
LogMXAPIUtils.getOpenedFilesLogEntries()
Returns a map of opened files in LogMX GUI, with their Log Entries.
Each file is associated to the list of its ParsedEntry .WARNING: For evident performances and memory consumption reasons, the returned lists of entries are not clones of internal LogMX lists. |
Modifier and Type | Method and Description |
---|---|
protected ParsedEntry |
LogFileParser.createNewEntry()
Called by the Parser to create and return a new blank log entry to be
used by this Parser.
Parsers should not try to directly create entries instead of calling this method. |
protected ParsedEntry |
LogFileManager.createNewEntryForExtraction()
Called by the Manager to create and return a new blank log entry to be
used by this Manager during entry extraction (see
LogFileManager.supportLogEntriesExtraction() ).Managers should not try to directly create entries instead of calling this method. |
ParsedEntry |
LogFileManager.readEntry()
Called by LogMX to request the Manager to extract the next log entry.
This default implementation always returns null .LogMX will call this method only if Manager returned true in LogFileManager.supportLogEntriesExtraction() . |
Modifier and Type | Method and Description |
---|---|
protected void |
LogFileParser.addEntry(ParsedEntry pParsedEntry)
Called by the Parser for each entry it has successfully parsed.
Calling this method several consecutive times with the same pParsedEntry
produces no effect in most cases. |
abstract Date |
LogFileParser.getAbsoluteEntryDate(ParsedEntry pEntry)
Called by LogMX to get the
Date of the specified entry,
or null if this Parser could not return the Date for this entry.Parser should try to get this Date from the String given by pEntry.getDate() . |
abstract Date |
LogFileParser.getRelativeEntryDate(ParsedEntry pEntry)
Called by LogMX to get a timestamp for entry
pEntry ,
or null if this Parser doesn't support relative timestamps.A relative timestamp is a timestamp relative to any arbitrary start date (in many cases, T0 matches the launch of the process that writes the log file).Parser should try to get this timestamp from the data given by pEntry.getExtraInfo()
or pEntry.getDate() . |
Copyright © 2017 LightySoft. All rights reserved. [LogMX v6.0.2 (November 20, 2017)]