Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.nds.dirxml.driver
Interface TraceInterface

All Known Implementing Classes:
  ConsoleTraceImpl, FileTraceImpl

    public interface TraceInterface

Interface describing the methods that the `Trace` class calls to output messages.

Method Summary
`int` | `getLevel()` Return the current trace level.
`void` | `trace(int level, String message)` Output a message string if the passed level is greater than or equal to the current trace level.
`void` | `trace(int level, XmlDocument document)` Serialize and output XML document if passed level is greater than or equal to the current trace level.

Method Detail

### trace

    void trace(int level,
               String message)

  Output a message string if the passed level is greater than or equal to the current trace level.

  Parameters:
    `level` - Trace level for message.
    `message` - String to output.

### trace

    void trace(int level,
               XmlDocument document)

  Serialize and output XML document if passed level is greater than or equal to the current trace level.

  Parameters:
    `level` - Trace level for document.
    `document` - The XML document to output

### getLevel

    int getLevel()

  Return the current trace level.

  Returns:
    Current trace level.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD