Interface ISecloreSDKLogger

All Superinterfaces:
Serializable

public interface ISecloreSDKLogger extends Serializable
The ISecloreSDKLogger declares the methods used for the Logging purpose.
The implemented instance of this interface is passed to the corresponding method calls to different modules.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    logDebug(String pRequestId, String pMessage)
    This method should log the entry at Debug level.
    void
    logException(String pRequestId, String pMessage, Throwable pThrowable)
    This method should log the Exception.
    void
    logInfo(String pRequestId, String pMessage)
    This method should log the entry at Info level.
  • Method Details

    • logDebug

      void logDebug(String pRequestId, String pMessage)
      This method should log the entry at Debug level.
      This method is called by SDK to log the development time messages that can be used for debugging purpose.
      Parameters:
      pRequestId - The unique identifier for the Request
      pMessage - The Message to be logged
    • logInfo

      void logInfo(String pRequestId, String pMessage)
      This method should log the entry at Info level.
      This method is called by SDK to log some special occurrences like database query/ policyserver query.
      Parameters:
      pRequestId - The unique identifier for the Request
      pMessage - The Message to be logged
    • logException

      void logException(String pRequestId, String pMessage, Throwable pThrowable)
      This method should log the Exception.
      This method is called by SDK to log any caught Exception.
      Parameters:
      pRequestId - The unique identifier for the Request
      pMessage - The Message to be logged
      pThrowable - The Throwable instance to be logged