We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
()
Logger.apply[C: ClassTag]()
The Scala 2.13.3 deprecates auto-application of (non-Java-defined) methods with a single empty parameter list: scala/scala#8833.
So the below example in the documentation doesn't work anymore (without suppressing the warning):
class Foo { val logger = Logger[this.type] // or Logger[Foo] }
Would it better to remove the () in Logger.apply[C: ClassTag]() method here: https://github.com/bmc/grizzled-slf4j/blob/master/src/main/scala/grizzled/slf4j/slf4j.scala#L434 ? Then we could still use Logger[this.type] in our code.
Logger[this.type]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Scala 2.13.3 deprecates auto-application of (non-Java-defined) methods with a single empty parameter list: scala/scala#8833.
So the below example in the documentation doesn't work anymore (without suppressing the warning):
Would it better to remove the
()
inLogger.apply[C: ClassTag]()
method here:https://github.com/bmc/grizzled-slf4j/blob/master/src/main/scala/grizzled/slf4j/slf4j.scala#L434 ?
Then we could still use
Logger[this.type]
in our code.The text was updated successfully, but these errors were encountered: