com.wolfssl
Interface WolfSSLLoggingCallback


public interface WolfSSLLoggingCallback

wolfSSL Logging Callback Interface. This interface specifies how applicaitons should implement the logging callback class to be used by wolfSSL for printing debug messages.

After implementing this interface, it should be passed as a parameter to the WolfSSL.setLoggingCb() method to be registered with the native wolfSSL library.

Version:
1.0, August 2013
Author:
wolfSSL

Method Summary
 void loggingCallback(int logLevel, java.lang.String logMessage)
          Logging callback method.
 

Method Detail

loggingCallback

void loggingCallback(int logLevel,
                     java.lang.String logMessage)
Logging callback method. This method provides the logging callback to be used when printing debug and trace messages from wolfSSL. Note that wolfSSL must have been compiled with debugging enabled.

Parameters:
logLevel - debug level of the log message
logMessage - log/debug message to be printed