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

## org.apache.torque.generator.configuration.controller
Interface LoggingAdapter

All Known Implementing Classes:
  DummyLoggingAdapter, Log4jLoggingAdapter

    public interface LoggingAdapter

Allows reading and setting the current loglevel. The implementation depends on the logging framework used.

Version:
  $Id: LoggingAdapter.java 1446086 2013-02-14 09:46:57Z tfischer $

Method Summary
`Loglevel` | `getCurrentLoglevel()` Returns the current loglevel.
`void` | `setLoglevel(Loglevel loglevel)` Sets the loglevel to the given loglevel.

Method Detail

### getCurrentLoglevel

    Loglevel getCurrentLoglevel()

  Returns the current loglevel.

  Returns:
    the current loglevel, or INFO if the current loglevel cannot be determined.

### setLoglevel

    void setLoglevel(Loglevel loglevel)

  Sets the loglevel to the given loglevel.

  Parameters:
    `loglevel` - the loglevel to set, not null.

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

Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.