Package com.tibco.patterns.deduplication

## Interface Logger

- All Known Implementing Classes:
    `Log4jLogger`, `PrintStreamLogger`

      public interface Logger

  Defines logging methods used by the Deduplication library.
  This interface is designed as simply as possible, to maximize compatibility with possible logging facilities. See `Log4jLogger` for a simple integration.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `debug​(java.lang.String message, java.lang.Throwable cause)` | Logs a debug message.
    `void` | `error​(java.lang.String message, java.lang.Throwable cause)` | Logs an error message.
    `void` | `fatal​(java.lang.String message, java.lang.Throwable cause)` | Logs a fatal message.
    `boolean` | `getDebugEnabled()` |
    `boolean` | `getInfoEnabled()` |
    `boolean` | `getTraceEnabled()` |
    `boolean` | `getWarnEnabled()` |
    `void` | `info​(java.lang.String message, java.lang.Throwable cause)` | Logs an informational message.
    `void` | `setDebugEnabled​(boolean enabled)` |
    `void` | `setInfoEnabled​(boolean enabled)` |
    `void` | `setTraceEnabled​(boolean enabled)` |
    `void` | `setWarnEnabled​(boolean enabled)` |
    `void` | `trace​(java.lang.String message, java.lang.Throwable cause)` | Logs a trace message.
    `void` | `warn​(java.lang.String message, java.lang.Throwable cause)` | Logs a warning message.

- - ### Method Detail

    - #### trace

          void trace​(java.lang.String message,
                     java.lang.Throwable cause)

      Logs a trace message.

      Enabling tracing can result in a very large number of log messages, substantially slowing deduplication. It should only be enabled under the direction of your TIBO support representative.

      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### debug

          void debug​(java.lang.String message,
                     java.lang.Throwable cause)

      Logs a debug message.

      Enabling debugging can result in a very large number of log messages, and may slow down deduplication. It should only be enabled under the direction of your TIBO support representative.

      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### info

          void info​(java.lang.String message,
                    java.lang.Throwable cause)

      Logs an informational message.

      Enabling informational messages will result in verbose log messages.

      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### warn

          void warn​(java.lang.String message,
                    java.lang.Throwable cause)

      Logs a warning message.
      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### error

          void error​(java.lang.String message,
                     java.lang.Throwable cause)

      Logs an error message.
      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### fatal

          void fatal​(java.lang.String message,
                     java.lang.Throwable cause)

      Logs a fatal message.

      The framework will usually cease processing shortly after emitting a fatal message.

      Parameters:
        `message` - the message to log
        `cause` - the cause of the message

    - #### getDebugEnabled

          boolean getDebugEnabled()

      Returns:
        The debug flag, which controls whether debug messages are logged.

    - #### setDebugEnabled

          void setDebugEnabled​(boolean enabled)

      Parameters:
        `enabled` - The debug flag, which controls whether debug messages are logged.

    - #### getTraceEnabled

          boolean getTraceEnabled()

      Returns:
        The trace flag, which controls whether trace messages are logged.

    - #### setTraceEnabled

          void setTraceEnabled​(boolean enabled)

      Parameters:
        `enabled` - The trace flag, which controls whether trace messages are logged.

    - #### getInfoEnabled

          boolean getInfoEnabled()

      Returns:
        The info flag, which controls whether info messages are logged.

    - #### setInfoEnabled

          void setInfoEnabled​(boolean enabled)

      Parameters:
        `enabled` - The info flag, which controls whether info messages are logged.

    - #### getWarnEnabled

          boolean getWarnEnabled()

      Returns:
        The warn flag, which controls whether warn messages are logged.

    - #### setWarnEnabled

          void setWarnEnabled​(boolean enabled)

      Parameters:
        `enabled` - The warn flag, which controls whether warn messages are logged.