public class FileServiceLog extends DefaultServiceLog implements Closeable
DefaultServiceLog that writes to configured file - useful for integration tests but also
for Karaf if you don't want to miss single log message.DEBUG, ERROR, FATAL, INFO, levels, NONE, TRACE, WARNLEVEL_DEBUG, LEVEL_ERROR, LEVEL_INFO, LEVEL_TRACE, LEVEL_WARNING| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
output(String levelName,
String message,
Throwable t)
Outputs logging event with preconfigured layout.
|
debug, debug, error, error, fatal, fatal, getLogLevel, getName, getPaxContext, getStaticLogLevel, inform, inform, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isFatalEnabled, isFatalEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, output, setLogLevel, trace, trace, warn, warnprotected void output(String levelName, String message, Throwable t)
DefaultServiceLogoutput in class DefaultServiceLogpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.