package testssl;
import com.perforce.p4java.server.callback.ILogCallback;
/***
*
* @author jbrown
*/
public class LogCallBack implements ILogCallback {
public void internalError(String errorString) {
System.out.println("error->"+errorString);
}
public void internalException(Throwable thr) {
System.out.println("exception->" + thr.getMessage() );
thr.printStackTrace();
}
public void internalWarn(String warnString) {
System.out.println("warning->"+warnString);
}
public void internalInfo(String infoString) {
System.out.println("info->"+infoString);
System.out.flush();
}
public void internalStats(String statsString) {
// SSystem.out.println("stats->"+statsString);
}
public void internalTrace(LogTraceLevel traceLevel, String traceMessage) {
// System.out.println("stats->"+statsString);
}
public LogTraceLevel getTraceLevel() {
return ILogCallback.LogTraceLevel.SUPERFINE ;
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
28029 |
Joel Brown |
New: for testing SSL handshakes to p4d enabled servers. |
|
|