public class LogsHelper extends HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED| Constructor and Description |
|---|
LogsHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearThrough(int n,
int crit,
long wn,
long wts,
String wf,
String consoleNonce) |
String |
getBuiltBy() |
int |
getCriticalLogCount()
Returns the number of critical/error log messages currently displayed.
|
String |
getCriticalLogs() |
String |
getJettyVersion() |
String |
getJstlVersion() |
int |
getLastCriticalMessageNumber()
Call before getLogs(), getCriticalLogs(), or getLastMessageNumber()
Side effect - calls logManager.flush()
|
int |
getLastMessageNumber()
Call before getLogs()
|
String |
getLogs()
Does not call logManager.flush(); call getCriticalLogs() first to flush
|
String |
getRevision() |
Object[] |
getServiceLogs(StringBuilder obuf)
last line number -1 on error
|
String |
getUnavailableCrypto() |
boolean |
isAdvanced()
Check if advanced mode is enabled.
|
void |
setContext(RouterContext context) |
_t, _t, _t, _x, getChecked, getCheckedDefaultTrue, ngettext, setContextId, storeWriterpublic void clearThrough(int n,
int crit,
long wn,
long wts,
String wf,
String consoleNonce)
n - -1 for nonecrit - -1 for noneconsoleNonce - must matchpublic String getBuiltBy()
public int getCriticalLogCount()
public String getCriticalLogs()
public String getJettyVersion()
public String getJstlVersion()
public int getLastCriticalMessageNumber()
public int getLastMessageNumber()
public String getLogs()
public String getRevision()
public Object[] getServiceLogs(StringBuilder obuf)
obuf - out parameterpublic String getUnavailableCrypto()
public boolean isAdvanced()
HelperBaseisAdvanced in class HelperBasepublic void setContext(RouterContext context)