scala-garden/scala-logging
56.2
Adequate · 28 September 2026
1.6k
lines of production code
Scala
primary language
2
measurements over time
What this system is
This system is a Scala logging library that provides macro-based APIs for generating efficient log statements. It supports both Scala 2 and Scala 3, utilizing distinct macro implementations for each version to ensure compatibility. The library integrates with SLF4J and Logback for backend logging and includes OSGi bundle support for modular deployment.
Features
Added Scala 3 macro implementations for the logging API
The core module now includes Scala 3-specific implementations for the logging macros, enabling the library to function correctly on Scala 3. This change adds \LoggerImpl\ and \LoggerTakingImplicitImpl\ traits using Scala 3 inline methods and quotes, along with the corresponding \LoggerMacro\ and \LoggerTakingImplicitMacro\ objects that handle the compile-time logic. These new files coexist with the existing Scala 2 macro implementations, allowing the library to support both Scala 2 and Scala 3 versions.
core, scala2macros · high confidence
Behavioural changes
Removal of Scala collection type aliases
The package object for scala-logging has been removed, eliminating the implicit type aliases that mapped \Traversable\, \Iterable\, \Seq\, and \IndexedSeq\ to their immutable counterparts. Users relying on these specific type definitions within this package will no longer have them available, requiring explicit use of standard Scala collection types or alternative imports.
src/main · high confidence
Test coverage
Added integration tests for Scala 2 logging macros
Added a new test suite (LoggerSpec) in the integration-test module to verify the behavior of the Scala 2 logging macros, ensuring that log methods correctly delegate to the underlying SLF4J logger based on enabled levels and argument handling.
integration-test · high confidence
Dependencies
Upgrade build infrastructure and dependencies for Scala 3 and modern tooling
The build system has been significantly modernized: SBT is upgraded from 0.13.5 to 1.12.14, and the project now supports Scala 3 in addition to Scala 2. Key dependencies have been updated, including SLF4J to 2.0.17, Logback to 1.4.14, and ScalaTest to 3.2.20. The build configuration also introduces OSGi bundle support via sbt-osgi and replaces sbt-release with sbt-ci-release for publishing.
project · high confidence
Upgrade to Scala 2.13.16 and 3.7.4 with OSGi support
The build has been updated to use Scala 2.13.16 and Scala 3.7.4, dropping support for older versions. The project now includes OSGi bundle support via the sbt-osgi plugin, exporting the \com.typesafe.scalalogging\ package. Additionally, the build structure has been reorganized into separate \core\ and \scala2macros\ modules to better handle Scala 2 and Scala 3 macro definitions.
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 55 → 56 (+0.9)
- Rubric changed (rubric-2026.09.8 → rubric-2026.09.16) — scores are not directly comparable.
Lenses
- Code Health 87 → 87 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 52 → 48 (-4.1)
- Readiness 43 → 47 (+4.1)
- Security 72 → 72 (+0.0)
New (1)
- Documentation: no usage examples (README.md)
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
scala-garden/scala-logging was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 28 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit a60feb587130a1e4764d965eb3b604f898b801eb — the exact code this score is about.
- Scored under rubric-2026.09.16 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-2d9048c36d26.