Skip to content
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

debug with Int (or AnyVal) #33

Open
ghost opened this issue Sep 21, 2013 · 0 comments
Open

debug with Int (or AnyVal) #33

ghost opened this issue Sep 21, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2013

Why there is only AnyRef* in API?

  def debug(message: String, params: AnyRef*): Unit = macro LoggerMacros.debugMessageParams

is there any way to log something like this:

val i1 = 2
val i2 = 3
logger.debug("i1={} and i2={}", i1, i2)

whitout using toString method on i1 and i2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants