public class Log
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
encoding |
protected eve.io.File |
fReq |
protected java.lang.String |
stRequest |
protected java.lang.String |
stResponse |
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
boolean |
createLogDir()
Creates the log directory if it does not yet exist
|
java.lang.String |
getLastError() |
java.lang.String |
getLogDatetime()
Gets the date and time when the request was sent to the webservice
|
java.lang.String |
getRequest()
Gets the request sent to the webservice
|
java.lang.String |
getRequestLogfile()
Gets the request log file
|
java.lang.String |
getResponse()
Gets the response received from the webservice
|
java.lang.String |
getResponseLogfile()
Gets the response log file
|
boolean |
save()
Writes the log information to the log files
|
void |
setLogDatetime()
Sets the date and time when the request was sent.
|
protected java.lang.String stRequest
protected java.lang.String stResponse
protected eve.io.File fReq
protected java.lang.String encoding
public boolean createLogDir()
public java.lang.String getLogDatetime()
public java.lang.String getLastError()
public java.lang.String getRequest()
public java.lang.String getRequestLogfile()
public java.lang.String getResponse()
public java.lang.String getResponseLogfile()
public boolean save()
public void setLogDatetime()