Download

You can edit this page on GitHub

tinylog 2.6.0

Java

tinylog API and implementation for Java and any other JVM language

implementation 'org.tinylog:tinylog-api:2.6.0'
implementation 'org.tinylog:tinylog-impl:2.6.0'
implementation("org.tinylog:tinylog-api:2.6.0")
implementation("org.tinylog:tinylog-impl:2.6.0")
<dependency org="org.tinylog" name="tinylog-api" rev="2.6.0" />
<dependency org="org.tinylog" name="tinylog-impl" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-api</artifactId>
    <version>2.6.0</version>
</dependency>
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-impl</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api" version="0.0.0" />
    <unit id="org.tinylog.impl" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "tinylog-api" % "2.6.0"
libraryDependencies += "org.tinylog" % "tinylog-impl" % "2.6.0"

Download: tinylog-2.6.0.zip (1.49 MB)

Kotlin

Enhanced logging API for Kotlin with tinylog implementation

implementation 'org.tinylog:tinylog-api-kotlin:2.6.0'
implementation 'org.tinylog:tinylog-impl:2.6.0'
implementation("org.tinylog:tinylog-api-kotlin:2.6.0")
implementation("org.tinylog:tinylog-impl:2.6.0")
<dependency org="org.tinylog" name="tinylog-api-kotlin" rev="2.6.0" />
<dependency org="org.tinylog" name="tinylog-impl" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-api-kotlin</artifactId>
    <version>2.6.0</version>
</dependency>
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-impl</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.kotlin" version="0.0.0" />
    <unit id="org.tinylog.impl" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "tinylog-api-kotlin" % "2.6.0"
libraryDependencies += "org.tinylog" % "tinylog-impl" % "2.6.0"

Download: tinylog-kotlin-2.6.0.zip (1.92 MB)

Scala

Enhanced logging API for Scala with tinylog implementation

implementation 'org.tinylog:tinylog-api-scala_2.13:2.6.0'
implementation 'org.tinylog:tinylog-impl:2.6.0'
implementation("org.tinylog:tinylog-api-scala_2.13:2.6.0")
implementation("org.tinylog:tinylog-impl:2.6.0")
<dependency org="org.tinylog" name="tinylog-api-scala_2.13" rev="2.6.0" />
<dependency org="org.tinylog" name="tinylog-impl" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-api-scala_2.13</artifactId>
    <version>2.6.0</version>
</dependency>
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-impl</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.scala_2.13" version="0.0.0" />
    <unit id="org.tinylog.impl" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" %% "tinylog-api-scala" % "2.6.0"
libraryDependencies += "org.tinylog" % "tinylog-impl" % "2.6.0"

Download: tinylog-scala-2.6.0.zip (4.39 MB)

Third-Party Logging APIs

Apache Commons Logging (JCL)

jcl-tinylog is a binding for Apache Commons Logging (JCL). This means that commons-logging must also exist in the classpath, but no other binding than jcl-tinylog. All log entries will be forwarded from org.apache.commons.logging.Log to tinylog and processed by the tinylog implementation.

implementation 'org.tinylog:jcl-tinylog:2.6.0'
implementation("org.tinylog:jcl-tinylog:2.6.0")
<dependency org="org.tinylog" name="jcl-tinylog" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>jcl-tinylog</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.jcl" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "jcl-tinylog" % "2.6.0"

Download: jcl-tinylog-2.6.0.zip (375 KB)

Apache Log4j 1.2

log4j1.2-api provides the logging API of Apache Log4j 1.2 for tinylog 2 and should be used instead of the legacy log4j artifact. Thus, classes that use Apache Log4j 1.2 for logging can be used together with tinylog 2.

implementation 'org.tinylog:log4j1.2-api:2.6.0'
implementation("org.tinylog:log4j1.2-api:2.6.0")
<dependency org="org.tinylog" name="log4j1.2-api" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>log4j1.2-api</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.log4j12" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "log4j1.2-api" % "2.6.0"

Download: log4j1.2-api-2.6.0.zip (481 KB)

Java System Logger

jsl-tinylog is a binding for java.lang.System.Logger and has just to be added to the classpath. Then, all log entries logged via java.lang.System.Logger will be processed by the tinylog implementation.

implementation 'org.tinylog:jsl-tinylog:2.6.0'
implementation("org.tinylog:jsl-tinylog:2.6.0")
<dependency org="org.tinylog" name="jsl-tinylog" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>jsl-tinylog</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.jsl" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "jsl-tinylog" % "2.6.0"

Download: jsl-tinylog-2.6.0.zip (375 KB)

Java Util Logging (JUL)

jul-tinylog is a bridge for java.util.logging.Logger. Before issuing any log entries via java.util.logging.Logger, it has to be activated by calling org.tinylog.jul.JulTinylogBridge.activate() at the startup of the application. All log entries will be forwarded from java.util.logging.Logger to tinylog and processed by the tinylog implementation.

implementation 'org.tinylog:jul-tinylog:2.6.0'
implementation("org.tinylog:jul-tinylog:2.6.0")
<dependency org="org.tinylog" name="jul-tinylog" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>jul-tinylog</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.jul" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "jul-tinylog" % "2.6.0"

Download: jul-tinylog-2.6.0.zip (368 KB)

JBoss Logging 3

jboss-tinylog is a binding for JBoss Logging 3. This means that jboss-logging must also exist in the classpath, but no other binding than jboss-tinylog. All log entries will be forwarded from org.jboss.logging.Logger to tinylog and processed by the tinylog implementation. MDC and tinylog’s thread context will share their data.

implementation 'org.tinylog:jboss-tinylog:2.6.0'
implementation("org.tinylog:jboss-tinylog:2.6.0")
<dependency org="org.tinylog" name="jboss-tinylog" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>jboss-tinylog</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.jboss" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "jboss-tinylog" % "2.6.0"

Download: jboss-tinylog-2.6.0.zip (394 KB)

SLF4J 1.6 – 2.0

slf4j-tinylog is a binding for SLF4J, which supports all versions from 1.6 up to 2.0. This means that slf4j-api must also exist in the classpath, but no other binding than slf4j-tinylog. All log entries will be forwarded from org.slf4j.Logger to tinylog and processed by the tinylog implementation. Markers are mapped to tinylog’s tags. MDC and tinylog’s thread context share their data.

implementation 'org.tinylog:slf4j-tinylog:2.6.0'
implementation("org.tinylog:slf4j-tinylog:2.6.0")
<dependency org="org.tinylog" name="slf4j-tinylog" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>slf4j-tinylog</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.slf4j" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "slf4j-tinylog" % "2.6.0"

Download: slf4j-tinylog-2.6.0.zip (423 KB)

tinylog 1.3

tinylog1.3-api provides the logging API of tinylog 1.3 for tinylog 2 and should be used instead of the old tinylog 1.3 artifact. Thus, classes that still use tinylog 1.3 for logging can be used together with tinylog 2.

implementation 'org.tinylog:tinylog1.3-api:2.6.0'
implementation("org.tinylog:tinylog1.3-api:2.6.0")
<dependency org="org.tinylog" name="tinylog1.3-api" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog1.3-api</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.api.tinylog13" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "tinylog1.3-api" % "2.6.0"

Download: tinylog1.3-api-2.6.0.zip (395 KB)

Web and Application Servers

tinylog can be used on web and application servers like all other popular logging APIs. For outputting log entries by the logging back-end of a server, one of the adapters below can be used instead of tinylog-impl. If log entries should be output by tinylog as well as by the logging back-end of a server, the adapters can be also used together with tinylog-impl in parallel.

Java Util Logging Based Servers

tinylog-jul is an adapter implementation for all web and application servers that use java.util.logging (JUL) as logging back-end. This includes Tomcat and Glassfish for example. It is also possible to use this adapter for Spring Boot applications, but tinylog-jboss is recommended in this case.

implementation 'org.tinylog:tinylog-jboss:2.6.0'
implementation("org.tinylog:tinylog-jboss:2.6.0")
<dependency org="org.tinylog" name="tinylog-jboss" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-jboss</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.adapter.jul" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "tinylog-jboss" % "2.6.0"

Download: tinylog-jboss-2.6.0.zip (1.01 MB)

JBoss Logging Based Servers

tinylog-jboss is an adapter implementation for all web and application servers that use JBoss Logging as logging back-end. This includes Wildfly and JBoss EAP for example. Furthermore, this adapter can be used for Spring Boot applications.

implementation 'org.tinylog:tinylog-jul:2.6.0'
implementation("org.tinylog:tinylog-jul:2.6.0")
<dependency org="org.tinylog" name="tinylog-jul" rev="2.6.0" />
<dependency>
    <groupId>org.tinylog</groupId>
    <artifactId>tinylog-jul</artifactId>
    <version>2.6.0</version>
</dependency>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
    <repository location="https://tinylog.org/p2-repository/2.6.0/" />
    <unit id="org.tinylog.adapter.jboss" version="0.0.0" />
</location>
libraryDependencies += "org.tinylog" % "tinylog-jul" % "2.6.0"

Download: tinylog-jul-2.6.0.zip (1.01 MB)