Package org.apache.torque.generator.configuration.controller

# Klasse Log4j2LoggingAdapter

java.lang.Object
org.apache.torque.generator.configuration.controller.Log4j2LoggingAdapter

Alle implementierten Schnittstellen:
  `LoggingAdapter`

public class Log4j2LoggingAdapter extends Object implements LoggingAdapter
Allows reading and setting the current loglevel using log4j2.

Version:
  $Id$

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `Log4j2LoggingAdapter()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `Loglevel`
  `getCurrentLoglevel()`
  Returns the current loglevel by reading the loglevel of the root logger.
  `void`
  `setLoglevel(Loglevel loglevel)`
  Sets the loglevel to the given loglevel by changing the level of the log4j root logger.

  ### Von Klasse geerbte Methoden java.lang.Object

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

- ## Konstruktordetails

  - ### Log4j2LoggingAdapter

    public Log4j2LoggingAdapter()

- ## Methodendetails

  - ### getCurrentLoglevel

    public Loglevel getCurrentLoglevel()
    Returns the current loglevel by reading the loglevel of the root logger.
    Angegeben von:
      `getCurrentLoglevel` in Schnittstelle `LoggingAdapter`
    Gibt zurück:
      the current loglevel, or INFO if the current loglevel cannot be determined.

  - ### setLoglevel

    public void setLoglevel(Loglevel loglevel)
    Sets the loglevel to the given loglevel by changing the level of the log4j root logger.
    Angegeben von:
      `setLoglevel` in Schnittstelle `LoggingAdapter`
    Parameter:
      `loglevel` - the loglevel to set, not null.