Skip to content

Index

logging_logback

Contains the logger adapter for the Logback logging library.

Install the Dependency

1
implementation("com.hexagonkt:logging_logback:$hexagonVersion")
1
2
3
4
5
6
7
8
9
<!--
 ! Pick ONLY ONE of the options below
 !-->
<!-- Full featured implementation -->
<dependency>
  <groupId>com.hexagonkt</groupId>
  <artifactId>logging_logback</artifactId>
  <version>$hexagonVersion</version>
</dependency>

Info

The above adapter bridge other logging libraries that may be used by other third party libraries you use (if you want to disable this behaviour, you need to explicitly exclude bridging libraries).

1
2
3
4
// Bridges
runtimeOnly("org.slf4j:jcl-over-slf4j:1.7.30")
runtimeOnly("org.slf4j:log4j-over-slf4j:1.7.30")
runtimeOnly("org.slf4j:jul-to-slf4j:1.7.30")
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>jcl-over-slf4j</artifactId>
  <version>1.7.30</version>
</dependency>
<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>log4j-over-slf4j</artifactId>
  <version>1.7.30</version>
</dependency>
<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>jul-to-slf4j</artifactId>
  <version>1.7.30</version>
</dependency>

Packages

Name Summary
com.hexagonkt.logging Provides a logging management capabilities abstracting the application from logging libraries.

Index

All Types

Comments