Skip to content
Matt Hicks edited this page Apr 19, 2024 · 7 revisions

SLF4J Logger

If you add the scribe-slf4j (or scribe-slf4j2 to use the 2.x version) dependency to your project Scribe will be picked up as an SLF4J implementation:

libraryDependencies += "com.outr" %% "scribe-slf4j" % <latest version>

Obviously this only applies to JVM as SLF4J isn't available in the browser or compiled for Scala Native. This will allow any existing application that relies on SLF4J to log through Scribe without any additional configuration.