-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Scala3, using a non-inline variable-length parameter doesn't print correctly #436
Labels
Comments
As discussed by pr #433,
It is not currently supported in scala 3. #433 supports this by hardcoding it, but another way is to add a specific API that doesn't include formatArgs But it's ok if args is an inline Seq
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when running with
--scala-version 2.13.12
it will print"test 1 2"
and with--scala-version 3.3.1
just"test {} {}"
. With scala-logging 3.9.5 it won't compile on 2.13 at allI think the issue for Scala 3 is in this part of the macro:
https://github.com/lightbend-labs/scala-logging/blob/main/src/main/scala-3/com/typesafe/scalalogging/LoggerMacro.scala#L279
Originally posted by @SakulK in #354 (comment)
The text was updated successfully, but these errors were encountered: