public class LogsHelper extends HelperBase
Modifier and Type | Field and Description |
---|---|
(package private) Attributes |
att |
_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 |
getBuildDate() |
String |
getBuiltBy() |
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() |
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter
Attributes att
public String getJettyVersion()
public String getUnavailableCrypto()
public String getJstlVersion()
public String getLogs()
public String getCriticalLogs()
public int getLastMessageNumber()
public int getLastCriticalMessageNumber()
public void clearThrough(int n, int crit, long wn, long wts, String wf, String consoleNonce)
n
- -1 for nonecrit
- -1 for noneconsoleNonce
- must matchpublic Object[] getServiceLogs(StringBuilder obuf)
obuf
- out parameterpublic String getBuiltBy()
public String getBuildDate()
public String getRevision()