public abstract class ExplicitReportFileHandler extends Object implements LogHandler
Modifier | Constructor and Description |
---|---|
protected |
ExplicitReportFileHandler(OortConfiguration config) |
Modifier and Type | Method and Description |
---|---|
static LogHandler |
createNameFiltered(Set<String> names,
OortConfiguration config) |
static LogHandler |
createSuffixFiltered(Set<String> suffixes,
OortConfiguration config) |
protected abstract boolean |
doWriteReport(String reportName) |
void |
logError(String msg,
Throwable e) |
void |
logInfo(String msg) |
void |
logWarn(String msg,
Throwable e) |
void |
report(String reportName,
CharSequence content) |
protected ExplicitReportFileHandler(OortConfiguration config)
public static LogHandler createNameFiltered(Set<String> names, OortConfiguration config)
public static LogHandler createSuffixFiltered(Set<String> suffixes, OortConfiguration config)
public void logInfo(String msg)
logInfo
in interface LogHandler
public void logWarn(String msg, Throwable e)
logWarn
in interface LogHandler
public void logError(String msg, Throwable e)
logError
in interface LogHandler
public void report(String reportName, CharSequence content)
report
in interface LogHandler
protected abstract boolean doWriteReport(String reportName)
Copyright © 2010–2016. All rights reserved.