Deprecated List (SLF4J 1.7.25 API)
Date: 2017-03-16

# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods

- Deprecated Fields
  Field and Description
  org.apache.log4j.helpers.LogLog.CONFIG_DEBUG_KEY Use `LogLog.DEBUG_KEY` instead.
  org.apache.log4j.Priority.DEBUG Use `Level.DEBUG` instead.
  org.apache.log4j.Priority.ERROR Use `Level.ERROR` instead.
  org.apache.log4j.Priority.FATAL Use `Level.FATAL` instead.
  org.apache.log4j.Priority.INFO Use `Level.INFO` instead.
  org.apache.log4j.Priority.WARN Use `Level.WARN` instead.

- Deprecated Methods
  Method and Description
  org.apache.log4j.Priority.getAllPossiblePriorities() This method will be removed with no replacement.
  org.apache.log4j.MDC.getContext()
  org.apache.log4j.Category.getPriority() Please use `Category.getLevel()` instead.
  org.slf4j.Marker.hasChildren() Replaced by `Marker.hasReferences()`.
  org.slf4j.profiler.SpacePadder.leftPad(StringBuffer, String, int)
  org.slf4j.profiler.SpacePadder.rightPad(StringBuffer, String, int)
  org.slf4j.profiler.SpacePadder.spacePad(StringBuffer, int)
  org.apache.log4j.Priority.toPriority(int) Please use the `Level.toLevel(int)` method instead.
  org.apache.log4j.Priority.toPriority(int, Priority) Please use the `Level.toLevel(int, Level)` method instead.
  org.apache.log4j.Priority.toPriority(String) Please use the `Level.toLevel(String)` method instead.
  org.apache.log4j.Priority.toPriority(String, Priority) Please use the `Level.toLevel(String, Level)` method instead.

Copyright © 2005–2017 QOS.ch. All rights reserved.