{"repo":"scala-garden/scala-logging","free":true,"listed":false,"github":"https://github.com/scala-garden/scala-logging","clone":"git clone https://github.com/scala-garden/scala-logging.git","description":"Convenient and performant logging library for Scala wrapping SLF4J.","language":"Scala","stars":926,"topics":["scala","logging","slf4j","jvm","logback","sbt","macros"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Scala Logging is a convenient and fast logging library wrapping SLF4J. ![CI][Badge-CI] [![Version][Badge-Releases]][Link-Releases] [Badge-CI]: https://github.com/lightbend-labs/scala-logging/actions/workflows/ci.yml/badge.svg [Badge-Releases]: https://img.shields.io/maven-central/v/com.typesafe.scala-logging/scala-logging 3 [Link-Releases]: https://repo1.maven.org/maven2/com/typesafe/scala-logging/scala-logging 3/ It's convenient, because you can simply call log methods, without checking whether the respective log level is enabled: It's fast, because thanks to Scala macros the check-enabled-idiom is applied and the following code is generated: Prerequisites Java 11 or higher Scala Logging 3.x supports Java 8 Scala 2.12, 2.13 or 3.0 Logging backend compatible with SLF4J A compatible logging backend is Logback, add it to your sbt build definition: If you are looking for a version compatible with Scala 2.10, check out Scala Logging 2.x. If you are looking for a version compatible with SLF4J 1.x, check out Scala Logging 3.x. Getting Scala Logging Scala Logging is published to Sonatype OSS and Maven Central: - Group id / organization: com.typesafe.scala-logging - Artifact id / name: scala-logging sbt users may add this to their build.sbt : Using Scala Logging The Logger class from the com.typesafe.scalalogging package wraps an underlying SLF4J logger. In order to create a Logger , you pass a name to the apply factory method defined in the Logger companion object: Or, you pass in a","default_branch":null,"files":null,"tree":[],"storefront":"/r/scala-garden","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scala-garden/scala-logging/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}