public class XLogStreamer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XLogStreamer.Filter
Filter that will construct the regular expression that will be used to filter the log statement.
|
Modifier and Type | Field and Description |
---|---|
static Pattern |
gzTimePattern
This pattern matches the end of a gzip filename to have a format like "-YYYY-MM-dd-HH.gz" with capturing groups for each part
of the date
|
Constructor and Description |
---|
XLogStreamer(XLogStreamer.Filter logFilter,
Writer logWriter,
String logPath,
String logFile,
long logRotationSecs) |
public static final Pattern gzTimePattern
public XLogStreamer(XLogStreamer.Filter logFilter, Writer logWriter, String logPath, String logFile, long logRotationSecs)
public void streamLog(Date startTime, Date endTime) throws IOException
startTime
- endTime
- IOException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.