public class LogReport
extends java.lang.Object
Constructor and Description |
---|
LogReport(java.lang.Object owner) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
countDebugRecords() |
int |
countErrorRecords() |
int |
countInfoRecords() |
int |
countRecords(java.util.logging.Level level) |
int |
countRecordsAbove(java.util.logging.Level level) |
int |
countRecordsBelow(java.util.logging.Level level) |
int |
countRecordsBetween(java.util.logging.Level minLevel,
java.util.logging.Level maxLevel) |
int |
countWarningRecords() |
java.util.logging.LogRecord |
debug(java.lang.String message) |
java.util.logging.LogRecord |
debug(java.lang.String message,
java.lang.Throwable t) |
java.util.logging.LogRecord |
error(java.lang.String message) |
java.util.logging.LogRecord |
error(java.lang.String message,
java.lang.Throwable t) |
java.util.List<java.util.logging.LogRecord> |
getDebugRecords() |
java.util.List<java.util.logging.LogRecord> |
getErrorRecords() |
java.util.List<java.util.logging.LogRecord> |
getInfoRecords() |
java.lang.Object |
getOwner() |
java.util.List<java.util.logging.LogRecord> |
getRecords() |
java.util.List<java.util.logging.LogRecord> |
getRecords(java.util.logging.Level level) |
java.util.List<java.util.logging.LogRecord> |
getRecordsAbove(java.util.logging.Level level) |
java.util.List<java.util.logging.LogRecord> |
getRecordsBelow(java.util.logging.Level level) |
java.util.List<java.util.logging.LogRecord> |
getRecordsBetween(java.util.logging.Level minLevel,
java.util.logging.Level maxLevel) |
java.util.List<java.util.logging.LogRecord> |
getWarningRecords() |
boolean |
hasDebugRecords() |
boolean |
hasErrorRecords() |
boolean |
hasInfoRecords() |
boolean |
hasRecords(java.util.logging.Level level) |
boolean |
hasRecordsAbove(java.util.logging.Level level) |
boolean |
hasRecordsBelow(java.util.logging.Level level) |
boolean |
hasRecordsBetween(java.util.logging.Level minLevel,
java.util.logging.Level maxLevel) |
boolean |
hasWarningRecords() |
java.util.logging.LogRecord |
info(java.lang.String message) |
java.util.logging.LogRecord |
info(java.lang.String message,
java.lang.Throwable t) |
boolean |
isEmpty() |
boolean |
isPublished() |
java.util.logging.LogRecord |
log(java.util.logging.Level level,
java.lang.String message) |
java.util.logging.LogRecord |
log(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable t) |
void |
publish() |
void |
publish(int minLevel,
int maxLevel) |
java.util.logging.LogRecord |
warning(java.lang.String message) |
java.util.logging.LogRecord |
warning(java.lang.String message,
java.lang.Throwable t) |
public java.lang.Object getOwner()
public void publish(int minLevel, int maxLevel)
public void publish()
public boolean isPublished()
public java.util.logging.LogRecord log(java.util.logging.Level level, java.lang.String message)
public java.util.logging.LogRecord log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable t)
public java.util.logging.LogRecord debug(java.lang.String message)
public java.util.logging.LogRecord debug(java.lang.String message, java.lang.Throwable t)
public java.util.logging.LogRecord info(java.lang.String message)
public java.util.logging.LogRecord info(java.lang.String message, java.lang.Throwable t)
public java.util.logging.LogRecord warning(java.lang.String message)
public java.util.logging.LogRecord warning(java.lang.String message, java.lang.Throwable t)
public java.util.logging.LogRecord error(java.lang.String message)
public java.util.logging.LogRecord error(java.lang.String message, java.lang.Throwable t)
public void clear()
public boolean isEmpty()
public java.util.List<java.util.logging.LogRecord> getRecords()
public java.util.List<java.util.logging.LogRecord> getRecords(java.util.logging.Level level)
public java.util.List<java.util.logging.LogRecord> getRecordsBelow(java.util.logging.Level level)
public java.util.List<java.util.logging.LogRecord> getRecordsAbove(java.util.logging.Level level)
public java.util.List<java.util.logging.LogRecord> getRecordsBetween(java.util.logging.Level minLevel, java.util.logging.Level maxLevel)
public java.util.List<java.util.logging.LogRecord> getDebugRecords()
public java.util.List<java.util.logging.LogRecord> getInfoRecords()
public java.util.List<java.util.logging.LogRecord> getWarningRecords()
public java.util.List<java.util.logging.LogRecord> getErrorRecords()
public boolean hasRecords(java.util.logging.Level level)
public boolean hasRecordsBelow(java.util.logging.Level level)
public boolean hasRecordsAbove(java.util.logging.Level level)
public boolean hasRecordsBetween(java.util.logging.Level minLevel, java.util.logging.Level maxLevel)
public boolean hasDebugRecords()
public boolean hasInfoRecords()
public boolean hasWarningRecords()
public boolean hasErrorRecords()
public int countRecords(java.util.logging.Level level)
public int countRecordsBelow(java.util.logging.Level level)
public int countRecordsAbove(java.util.logging.Level level)
public int countRecordsBetween(java.util.logging.Level minLevel, java.util.logging.Level maxLevel)
public int countDebugRecords()
public int countInfoRecords()
public int countWarningRecords()
public int countErrorRecords()