cdac.medinfo.sdk.hl7282.utils

## Class LogTemplate

- java.lang.Object
- - cdac.medinfo.sdk.hl7282.utils.LogTemplate

-     public class LogTemplate
      extends java.lang.Object

  LogTemplate provides SDK with logging format to log errors in the SDK.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `EnumErrorCode` | `enumErrorCode`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LogTemplate()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getExceptionMessage()` Gets the Whole exception Message.
    `void` | `setErrorCode(EnumErrorCode enumErrorCode)` Sets the ErrorCode.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### enumErrorCode

          public EnumErrorCode enumErrorCode

  - ### Constructor Detail

    - #### LogTemplate

          public LogTemplate()

  - ### Method Detail

    - #### setErrorCode

          public void setErrorCode(EnumErrorCode enumErrorCode)

      Sets the ErrorCode.
      Parameters:
        `enumErrorCode` - - Specifies enum for Error Code.

    - #### getExceptionMessage

          public java.lang.String getExceptionMessage()

      Gets the Whole exception Message.
      Returns:
        String - message to be logged.