Class LogFileParser
java.lang.Object
org.ametys.plugins.core.ui.log.parser.LogFileParser
A log file parser.
The log file is parsed by the end with a limit of [limit] events.
-
Method Summary
-
Method Details
-
parseFile
public static List<Map<String,Object>> parseFile(File logFile, Map<String, Object> filters, int limit, Logger logger) throws IOExceptionParse the log file.- Parameters:
logFile
- The log filefilters
- The filters on logslimit
- The limit of eventslogger
- The logger- Returns:
- A
List
of parsed log lines - Throws:
IOException
- if an error occurs
-