SLF4J API Module

org.slf4j : slf4j-api

The slf4j API

Jan 13, 2022
37k usages
1.8k stars

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.slf4j/slf4j-api --> 
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>2.0.0-alpha6</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.slf4j:slf4j-api library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-api</artifactId>
  <version>2.0.0-alpha6</version>
</dependency>
</dependencies>

To install org.slf4j:slf4j-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.slf4j:slf4j-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.slf4j:slf4j-api:2.0.0-alpha6'
}

Gradle Kotlin DSL: Add the org.slf4j:slf4j-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.slf4j:slf4j-api:2.0.0-alpha6")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.slf4j:slf4j-api library to your build.sbt file:

libraryDependencies += "org.slf4j" % "slf4j-api" % "2.0.0-alpha6"

4. Add dependency to a Grape project

Grape: Add an annotation org.slf4j:slf4j-api library to your groovy script file:

@Grapes(
    @Grab('org.slf4j:slf4j-api:2.0.0-alpha6')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

jarkata common utils

0 stars

notify by weixin template message, sms and etc.

SocketLabs Email Delivery Java library

2 stars

AndroidDDPClient is an Android library for native apps that talk to the Meteor.js framework

141 stars

Java API for handling configuration files in Windows .ini format. The library includes its own Map based API, Java Preferences API and Java Beans API for handling .ini files. Additionally, the library includes a feature rich (variable/macro substitution, multiply property values, etc) java.util.Properties replacement.

107 usages

More from Group

The slf4j API

37k usages
1.8k stars

SLF4J LOG4J-12 Binding

7.4k usages
1.8k stars

SLF4J Simple binding

7k usages
1.8k stars

JCL 1.2 implemented over SLF4J

4k usages
1.8k stars

JUL to SLF4J bridge

2.1k usages
1.8k stars
© 2022 JMaven.com