public class AssertionLoggerHandler
extends org.jboss.logmanager.ExtHandler
startCapture()
and stopCapture()
Be careful with this use as this is intended for testing only (such as testcases)| Constructor and Description |
|---|
AssertionLoggerHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear() |
void |
close() |
protected void |
doPublish(org.jboss.logmanager.ExtLogRecord record) |
static boolean |
findText(long mstimeout,
String... text) |
static boolean |
findText(String... text)
Find a line that contains the parameters passed as an argument
|
void |
flush() |
static boolean |
hasLevel(Level level)
is there any record matching Level?
|
static void |
startCapture() |
static void |
stopCapture() |
addHandler, checkAccess, checkAccess, clearHandlers, disableAccess, enableAccess, getHandlers, isAutoFlush, isEnabled, protect, publish, publish, removeHandler, setAutoFlush, setEnabled, setEncoding, setErrorManager, setFilter, setFormatter, setHandlers, setLevel, unprotectgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportErrorpublic void flush()
public void close()
throws SecurityException
close in interface Closeableclose in interface AutoCloseableclose in class org.jboss.logmanager.ExtHandlerSecurityExceptionprotected void doPublish(org.jboss.logmanager.ExtLogRecord record)
doPublish in class org.jboss.logmanager.ExtHandlerpublic static boolean hasLevel(Level level)
level - public static boolean findText(long mstimeout,
String... text)
public static boolean findText(String... text)
text - public static final void clear()
public static final void startCapture()
public static final void stopCapture()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.