public abstract class AbstractLogReader extends Object implements LogReader
Constructor and Description |
---|
AbstractLogReader() |
Modifier and Type | Method and Description |
---|---|
ch.qos.logback.core.Appender<?> |
getAppender()
Logging appender associated with this reader.
|
Date |
getEndDate()
End (latest) date of of the log records returned by this log reader.
|
LogLevel |
getLevel()
Level of the log records returned by this log reader.
|
int |
getLimit()
Get the limit.
|
Date |
getMaxDate()
Max (latest) available date of the log records.
|
Date |
getMinDate()
Min (earliest) available date of the log records.
|
int |
getOffset()
Get the offset
|
Date |
getStartDate()
Start (earliest) date of the log records returned by this log reader.
|
String |
getThread()
Thread name of the log records returned by this log reader.
|
List<String> |
getThreadNames()
All available thread names of the log records.
|
abstract boolean |
hasNext() |
abstract LogRecord |
next() |
void |
remove() |
void |
setAppender(ch.qos.logback.core.Appender<?> appender)
Logging appender associated with this reader.
|
void |
setEndDate(Date date)
End (latest) date of of the log records returned by this log reader.
|
void |
setLevel(LogLevel level)
Level of the log records returned by this log reader.
|
void |
setLimit(int limit)
Set the limit
|
void |
setOffset(int offset)
Set the offset
|
void |
setStartDate(Date date)
Start (earliest) date of the log records returned by this log reader.
|
void |
setThread(String threadname)
Thread name of the log records returned by this log reader.
|
boolean |
supportsDateRanges()
Test if this LogReader implementation supports date-based records filtering.
|
boolean |
supportsLevelFilter()
Test if this LogReader implementation supports level-based records filtering.
|
boolean |
supportsThreadFilter()
Test if this LogReader implementation supports thread-based records filtering.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, init, isMoreAvailable
forEachRemaining
public void setAppender(ch.qos.logback.core.Appender<?> appender)
LogReader
setAppender
in interface LogReader
appender
- logging appender associated with this readerpublic ch.qos.logback.core.Appender<?> getAppender()
LogReader
getAppender
in interface LogReader
public Date getEndDate()
LogReader
getEndDate
in interface LogReader
public LogLevel getLevel()
LogReader
public Date getStartDate()
LogReader
getStartDate
in interface LogReader
public void setEndDate(Date date)
LogReader
setEndDate
in interface LogReader
date
- end datepublic void setLevel(LogLevel level)
LogReader
public void setStartDate(Date date)
LogReader
setStartDate
in interface LogReader
public boolean supportsDateRanges()
LogReader
supportsDateRanges
in interface LogReader
public Date getMaxDate()
LogReader
getMaxDate
in interface LogReader
public Date getMinDate()
LogReader
getMinDate
in interface LogReader
public boolean supportsLevelFilter()
LogReader
supportsLevelFilter
in interface LogReader
public String getThread()
LogReader
public void setThread(String threadname)
LogReader
public boolean supportsThreadFilter()
LogReader
supportsThreadFilter
in interface LogReader
public int getLimit()
public void setLimit(int limit)
public int getOffset()
public void setOffset(int offset)
public List<String> getThreadNames()
LogReader
getThreadNames
in interface LogReader
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.