LoggerTestUtil.JDKLogCapture
@Deprecated
public class CaptureHandler
extends Handler
implements Closeable
Constructor and Description |
---|
CaptureHandler(Logger logger,
Level level)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
|
List<LogRecord> |
getLogRecords()
Deprecated.
|
boolean |
isLoggable(LogRecord logRecord)
Deprecated.
|
void |
publish(LogRecord logRecord)
Deprecated.
|
List<LogRecord> |
resetLogLevel(Level level)
Deprecated.
|
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class Handler
public void flush()
flush
in class Handler
public List<LogRecord> getLogRecords()
public boolean isLoggable(LogRecord logRecord)
isLoggable
in class Handler
public void publish(LogRecord logRecord)
publish
in class Handler
public List<LogRecord> resetLogLevel(Level level)