MVN

com.codahale.metrics : metrics-log4j

Maven & Gradle

Feb 17, 2014
9 usages
450 stars

Metrics Integration for Log4j · An instrumented appender for Log4j.

<dependency>
    <groupId>com.codahale.metrics</groupId>
    <artifactId>metrics-log4j</artifactId>
    <version>3.0.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.codahale.metrics : metrics-log4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.0.2
  • Latest Release Candidate: 3.0.0-RC1
  • Latest Beta: 3.0.0-BETA3

All Versions

Choose a version of com.codahale.metrics : metrics-log4j to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.0.x
metrics-log4j-3.0.2
metrics-log4j-3.0.1
metrics-log4j-3.0.0
metrics-log4j-3.0.0-RC1
metrics-log4j-3.0.0-BETA3
metrics-log4j-3.0.0-BETA2

How to add a dependency to Maven

Add the following com.codahale.metrics : metrics-log4j maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.codahale.metrics</groupId>
    <artifactId>metrics-log4j</artifactId>
    <version>3.0.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.codahale.metrics : metrics-log4j gradle dependency to your build.gradle file:

implementation 'com.codahale.metrics:metrics-log4j:3.0.2'

Gradle Kotlin DSL: Add the following com.codahale.metrics : metrics-log4j gradle kotlin dependency to your build.gradle.kts file:

implementation("com.codahale.metrics:metrics-log4j:3.0.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.codahale.metrics : metrics-log4j sbt scala dependency to your build.sbt file:

libraryDependencies += "com.codahale.metrics" % "metrics-log4j" % "3.0.2"