# Deprecated API

## Contents

- Interfaces
- Methods
- Enum Constants

- Deprecated Interfaces
  Interface
  Description
  madkit.agr.Organization
  as of MaDKit 5.2 replaced by `DefaultMaDKitRoles`

- Deprecated Methods
  Method
  Description
  madkit.kernel.AbstractAgent.setLogLevel(Level)
  as of MaDKit 5.2, `AgentLogger.setLevel(Level)` should now be used through `AbstractAgent.getLogger()`
  madkit.kernel.AgentLogger.getWarningLogLevel()
  as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`
  madkit.kernel.AgentLogger.setWarningLogLevel(Level)
  as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`
  madkit.kernel.Scheduler.getGVT()
  as of MaDKit 5.3, replaced by `AbstractAgent.getSimulationTime()`
  madkit.kernel.Scheduler.getSimulationDuration()
  as of MDK 5.3, replaced by `AbstractAgent.getSimulationTime()` available methods
  madkit.kernel.Scheduler.setGVT(double)
  as of MaDKit 5.3, replaced by `AbstractAgent.getSimulationTime()`
  madkit.kernel.Scheduler.setSimulationDuration(double)
  as of MDK 5.3, replaced by `AbstractAgent.getSimulationTime()` available methods

- Deprecated Enum Constants
  Enum Constant
  Description
  madkit.kernel.Madkit.LevelOption.warningLogLevel
  as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`