# Uses of Enum Class
org.apache.torque.generator.configuration.controller.Loglevel

Packages that use Loglevel
Package
Description
org.apache.torque.generator.configuration
This package contains the classes for configuring the Torque generator.
org.apache.torque.generator.configuration.controller
This package contains the classes for reading the control configuration of the Torque generator units of generation.

- ## Uses of Loglevel in org.apache.torque.generator.configuration

  Methods in org.apache.torque.generator.configuration that return Loglevel
  Modifier and Type
  Method
  Description
  `Loglevel`
  UnitConfiguration.`getLoglevel()`
  Returns the Loglevel during generation.
  `Loglevel`
  UnitDescriptor.`getLoglevel()`
  Returns the log level overriding the loglevel defined in the configuration unit.
  Methods in org.apache.torque.generator.configuration with parameters of type Loglevel
  Modifier and Type
  Method
  Description
  `void`
  UnitConfiguration.`setLoglevel(Loglevel loglevel)`
  Sets the Loglevel during generation.
  `void`
  UnitDescriptor.`setLoglevel(Loglevel loglevel)`
  Sets the log level overriding the loglevel defined in the configuration unit.

- ## Uses of Loglevel in org.apache.torque.generator.configuration.controller

  Methods in org.apache.torque.generator.configuration.controller that return Loglevel
  Modifier and Type
  Method
  Description
  `static Loglevel`
  Loglevel.`getByKey(String key)`
  Returns the Loglevel for a given key.
  `Loglevel`
  DummyLoggingAdapter.`getCurrentLoglevel()`
  Always returns `Loglevel.INFO`.
  `Loglevel`
  Log4j2LoggingAdapter.`getCurrentLoglevel()`
  Returns the current loglevel by reading the loglevel of the root logger.
  `Loglevel`
  Log4jLoggingAdapter.`getCurrentLoglevel()`
  Returns the current loglevel by reading the loglevel of the root logger.
  `Loglevel`
  LoggingAdapter.`getCurrentLoglevel()`
  Returns the current loglevel.
  `static Loglevel`
  Loglevel.`getCurrentLoglevel()`
  Returns the current loglevel.
  `Loglevel`
  ControlConfiguration.`getLoglevel()`
  Returns the loglevel during generation.
  `static Loglevel`
  Loglevel.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static Loglevel[]`
  Loglevel.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.torque.generator.configuration.controller with parameters of type Loglevel
  Modifier and Type
  Method
  Description
  `void`
  ControlConfiguration.`setLoglevel(Loglevel loglevel)`
  Set the loglevel during generation.
  `void`
  DummyLoggingAdapter.`setLoglevel(Loglevel loglevel)`
  Does nothing except logging the argument.
  `void`
  Log4j2LoggingAdapter.`setLoglevel(Loglevel loglevel)`
  Sets the loglevel to the given loglevel by changing the level of the log4j root logger.
  `void`
  Log4jLoggingAdapter.`setLoglevel(Loglevel loglevel)`
  Sets the loglevel to the given loglevel by changing the level of the log4j root logger.
  `void`
  LoggingAdapter.`setLoglevel(Loglevel loglevel)`
  Sets the loglevel to the given loglevel.