de.caff.util.debug

## Interface Debug.ModeChangeListener

- All Known Implementing Classes:
    DebugLevelSwitchBoard
  Enclosing class:
    Debug

      public static interface Debug.ModeChangeListener

  A Java interface for listeners which wants to be informed about the internal mode of the debug interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `modeChanged(int modeID, boolean state)` The debugging mode for an id is changed.
    `void` | `stderrCaptureChanged(boolean state)` The capturing mode for stderr is changed.
    `void` | `stdoutCaptureChanged(boolean state)` The capturing mode for stdout is changed.

- - ### Method Detail

    - #### modeChanged

          void modeChanged(int modeID,
                           boolean state)

      The debugging mode for an id is changed.
      Parameters:
        `modeID` - one of `TRACE`, `MESSAGE`, `WARNING`, `ERROR`, `FATAL`, `LOG`, or `ASSERT`
        `state` - new state of the given category
      See Also:
        `DebugConstants`

    - #### stdoutCaptureChanged

          void stdoutCaptureChanged(boolean state)

      The capturing mode for stdout is changed.
      Parameters:
        `state` - new capturing mode

    - #### stderrCaptureChanged

          void stderrCaptureChanged(boolean state)

      The capturing mode for stderr is changed.
      Parameters:
        `state` - new capturing mode