Generic

If you are using another SLF4J compatible framework like Log4J 2 or SLF4J Simple, or don’t want to use the Logstash binding, you should use blindsight-generic, which has a serviceloader binding that depends solely on slf4j-api.

Note

The generic binding does not have implementations for ArgumentResolver or MarkersResolver, which means that the DSL cannot be used and there is no source code information written out.

Add the bintray resolver:

resolvers += Resolver.bintrayRepo("tersesystems", "maven")

And then add the dependency:

sbt
libraryDependencies += "com.tersesystems.blindsight" %% "blindsight-generic" % "1.4.0-RC4"
Maven
<properties>
  <scala.binary.version>2.13</scala.binary.version>
</properties>
<dependency>
  <groupId>com.tersesystems.blindsight</groupId>
  <artifactId>blindsight-generic_${scala.binary.version}</artifactId>
  <version>1.4.0-RC4</version>
</dependency>
Gradle
versions += [
  ScalaBinary: "2.13"
]
dependencies {
  compile group: 'com.tersesystems.blindsight', name: "blindsight-generic_${versions.ScalaBinary}", version: '1.4.0-RC4'
}

See Github for the latest version.

The source code for this page can be found here.