MVN

org.slf4j : slf4j-api

Maven & Gradle

Mar 17, 2023
51k usages
2.1k stars

SLF4J API Module · The slf4j API

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>2.0.7</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.slf4j : slf4j-api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.7
  • Latest Release Candidate: 1.6.0-RC0
  • Latest Beta: 2.0.0-beta1
  • Latest Alpha: 2.0.0-alpha7

All Versions

Choose a version of org.slf4j : slf4j-api to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
slf4j-api-2.0.7
slf4j-api-2.0.6
slf4j-api-2.0.5
slf4j-api-2.0.4
slf4j-api-2.0.3
slf4j-api-2.0.2
slf4j-api-2.0.1
slf4j-api-2.0.0
slf4j-api-2.0.0-beta1
slf4j-api-2.0.0-beta0
slf4j-api-2.0.0-alpha7
slf4j-api-2.0.0-alpha6
slf4j-api-2.0.0-alpha5
slf4j-api-2.0.0-alpha4
slf4j-api-2.0.0-alpha3
slf4j-api-2.0.0-alpha2
slf4j-api-2.0.0-alpha1
slf4j-api-2.0.0-alpha0
1.8.x
slf4j-api-1.8.0-beta4
slf4j-api-1.8.0-beta2
slf4j-api-1.8.0-beta1
slf4j-api-1.8.0-beta0
slf4j-api-1.8.0-alpha2
slf4j-api-1.8.0-alpha1
slf4j-api-1.8.0-alpha0
1.7.x
slf4j-api-1.7.36
slf4j-api-1.7.35
slf4j-api-1.7.34
slf4j-api-1.7.33
slf4j-api-1.7.32
slf4j-api-1.7.31
slf4j-api-1.7.30
slf4j-api-1.7.29
slf4j-api-1.7.28
slf4j-api-1.7.27
slf4j-api-1.7.26
slf4j-api-1.7.25
slf4j-api-1.7.24
slf4j-api-1.7.23
slf4j-api-1.7.22
slf4j-api-1.7.21
slf4j-api-1.7.20
slf4j-api-1.7.19
slf4j-api-1.7.18
slf4j-api-1.7.16
slf4j-api-1.7.15
slf4j-api-1.7.14
slf4j-api-1.7.13
slf4j-api-1.7.12
slf4j-api-1.7.11
slf4j-api-1.7.10
slf4j-api-1.7.9
slf4j-api-1.7.8
slf4j-api-1.7.7
slf4j-api-1.7.6
slf4j-api-1.7.5
slf4j-api-1.7.4
slf4j-api-1.7.3
slf4j-api-1.7.2
slf4j-api-1.7.1
slf4j-api-1.7.0
1.6.x
slf4j-api-1.6.6
slf4j-api-1.6.5
slf4j-api-1.6.4
slf4j-api-1.6.3
slf4j-api-1.6.2
slf4j-api-1.6.1
slf4j-api-1.6.0
slf4j-api-1.6.0-alpha2
slf4j-api-1.6.0-RC0
1.5.x
slf4j-api-1.5.11
slf4j-api-1.5.10
slf4j-api-1.5.9.RC1
slf4j-api-1.5.9-RC0
slf4j-api-1.5.8
slf4j-api-1.5.7
slf4j-api-1.5.6
slf4j-api-1.5.5
slf4j-api-1.5.4
slf4j-api-1.5.3
slf4j-api-1.5.2
slf4j-api-1.5.0
slf4j-api-1.5.0-M0
1.4.x
slf4j-api-1.4.3
slf4j-api-1.4.2
slf4j-api-1.4.1
slf4j-api-1.4.0
1.3.x
slf4j-api-1.3.1
slf4j-api-1.3.0
1.2
slf4j-api-1.2
1.1.x
slf4j-api-1.1.0
slf4j-api-1.1.0-RC1
slf4j-api-1.1.0-RC0
slf4j-api-1.1.0-beta0

How to add a dependency to Maven

Add the following org.slf4j : slf4j-api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>2.0.7</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.slf4j : slf4j-api gradle dependency to your build.gradle file:

implementation 'org.slf4j:slf4j-api:2.0.7'

Gradle Kotlin DSL: Add the following org.slf4j : slf4j-api gradle kotlin dependency to your build.gradle.kts file:

implementation("org.slf4j:slf4j-api:2.0.7")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.slf4j : slf4j-api sbt scala dependency to your build.sbt file:

libraryDependencies += "org.slf4j" % "slf4j-api" % "2.0.7"

Advertisement

Dependencies from Group

Mar 17, 2023
51k usages
2.1k stars
Mar 17, 2023
13.2k usages
2.1k stars
Mar 17, 2023
11k usages
2.1k stars
Mar 17, 2023
7.5k usages
2.1k stars
Mar 17, 2023
3.5k usages
2.1k stars

Discover Dependencies

Jul 13, 2023
6.4k usages
56.5k stars
Oct 05, 2010
91 usages
Sep 20, 2005
220 usages
Sep 09, 2022
2.1k usages
29 usages
527 stars
Aug 24, 2023
5.9k usages
75k stars
Jul 14, 2020
1.5k usages
5.9k stars
Mar 21, 2012
1.4k usages
Aug 21, 2023
1.8k usages
8.7k stars
Aug 24, 2023
8.4k usages
75k stars