-
Notifications
You must be signed in to change notification settings - Fork 5
Bridges
This page describes how to configure bridges for the existing logging frameworks.
Add to your project the following dependency to make SLF4J use gflog as the implementation:
runtimeOnly 'com.epam.deltix:gflog-slf4j:3.0.0'
Make sure that no more SLF4J bridges on the classpath. Otherwise SL4J can choose a different bridge to use.
Add to your project the following dependency to make JCL use gflog as the implementation:
runtimeOnly 'com.epam.deltix:gflog-jcl:3.0.0'
Make sure that no more JUL bridges on the classpath. Otherwise JCL can choose a different bridge to use.
Add to your project the following dependency:
implementation 'com.epam.deltix:gflog-jul:3.0.0'
Call the following method before JUL is initilized to make it use gflog as the implementation:
com.epam.deltix.gflog.jul.JulBridge.install()
Make sure that you call this method before JUL is initialized. Otherwise JUL can choose the default implementation or a different bridge to use.