| Package | Description |
|---|---|
| stella.log |
| Modifier and Type | Method and Description |
|---|---|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
Date end)
Filters the log levels from starting to ending date, inclusevely on both
edges.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
Date end,
boolean inv)
Filters the log levels from starting to ending date, inclusevely on both
edges.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
long ms)
Returns a date-filtered list starting from the stated date and spanning
for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
long ms,
boolean inv)
Returns a date-filtered list starting from the stated date and spanning
for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
long ms,
Date end)
Returns a date-filtered list ending at the stated date and spanning
previously for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
long ms,
Date end,
boolean inv)
Returns a date-filtered list ending at the stated date and spanning
previously for the indicated length in ms.
|
static List<LogLine> |
LogParser.levelFilter(List<LogLine> log,
int level)
Filters the list of log lines to contain only the requested levels.
|
List<LogLine> |
LogParser.read(InputStream f)
Parses a log file to a list of logline objects, from an input stream.
|
List<LogLine> |
LogParser.read(InputStream f,
boolean head)
Parses a log file to a list of logline objects.
|
List<LogLine> |
LogParser.readFile(File f)
Parses a log file to a list of logline objects.
|
List<LogLine> |
LogParser.readFile(File f,
boolean head)
Parses a log file to a list of logline objects.
|
List<LogLine> |
LogParser.readList(List<String> lines,
boolean head)
Parses a log file to a list of logline objects.
|
static List<LogLine> |
LogParser.readTail(File f,
int n,
boolean head,
DateFormat df,
boolean host)
Reads log line as tail from a (big) input file.
|
static List<LogLine> |
LogParser.sshTail(String userhost,
File f,
int n,
boolean head,
DateFormat df,
boolean host)
Reads a log line from a remote host using ssh tail command.
|
| Modifier and Type | Method and Description |
|---|---|
int |
LogLine.compareTo(LogLine o)
Natural ordering according to date.
|
long |
LogLine.getTimelag(LogLine that)
Returns the time lag between this log line and the argument, which is
negative if the argument is after this.
|
| Modifier and Type | Method and Description |
|---|---|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
Date end)
Filters the log levels from starting to ending date, inclusevely on both
edges.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
Date end,
boolean inv)
Filters the log levels from starting to ending date, inclusevely on both
edges.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
long ms)
Returns a date-filtered list starting from the stated date and spanning
for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
Date start,
long ms,
boolean inv)
Returns a date-filtered list starting from the stated date and spanning
for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
long ms,
Date end)
Returns a date-filtered list ending at the stated date and spanning
previously for the indicated length in ms.
|
static List<LogLine> |
LogParser.dateFilter(List<LogLine> log,
long ms,
Date end,
boolean inv)
Returns a date-filtered list ending at the stated date and spanning
previously for the indicated length in ms.
|
static List<LogLine> |
LogParser.levelFilter(List<LogLine> log,
int level)
Filters the list of log lines to contain only the requested levels.
|