tinylog icon indicating copy to clipboard operation
tinylog copied to clipboard

Tinylog for Scala 3

Open ForNeVeR opened this issue 7 months ago • 2 comments
trafficstars

I am trying to update my Scala app using Tinylog to Scala 3, and it doesn't seem that Tinylog has a Scala 3-compatible artifact published to Maven.

Exact steps to reproduce (you don't really need them, but for completeness of report):

  1. Clone https://github.com/ForNeVeR/checktimer/ at commit e04779a8de1438d4721f1afcf1e509f08ee2968c.
  2. Change to scalaVersion := "3.6.4" in build.sbt
  3. sbt compile

It will print a report:

[error] (update) sbt.librarymanagement.ResolveException: Error downloading org.tinylog:tinylog-api-scala_3:2.7.0
[error]   Not found

ForNeVeR avatar Mar 30 '25 23:03 ForNeVeR

There is indeed no Scala 3 artifact until now. Currently, I'm focusing on tinylog 3. Therefore, I cannot implement a Scala 3 artifact by myself in near future. However, I would be happy to review and merge any pull request for a Scala 3 implementation.

pmwmedia avatar Mar 31 '25 17:03 pmwmedia

Yep, this is understandable.

Sadly, I myself am just learning how Scala 3 works (it seems to make some changes in the macro subsystem, and tinylog uses macros it its Scala API), so cannot help right now.

I suggest let's leave the issue open for now: hopefully some folks with better knowledge of Scala ecosystem will come and help us.

ForNeVeR avatar Mar 31 '25 20:03 ForNeVeR