public class DefaultLogCallback extends Object implements LogCallback
LogCallback.DoneException| Constructor and Description |
|---|
DefaultLogCallback(LogOutputSpec outputSpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String error)
Method called in case on an error when reading the logs
|
void |
log(int type,
Timestamp timestamp,
String txt)
Receive a log entry
|
public DefaultLogCallback(LogOutputSpec outputSpec) throws FileNotFoundException
FileNotFoundExceptionpublic void log(int type,
Timestamp timestamp,
String txt)
LogCallbacklog in interface LogCallbacktype - 1 for log on standard output, 2 for standard errortimestamp - timestampp on the server side when this entry happenedtxt - log outputpublic void error(String error)
LogCallbackerror in interface LogCallbackerror - error descriptionCopyright © 2016. All Rights Reserved.