Log4s / log4s

High-performance SLF4J wrapper for Scala.
Other
171 stars 25 forks source link

Use fully-qualified classOf from scala.Predef #46

Closed liff closed 4 years ago

liff commented 4 years ago

The macro implementation of getLogger uses an unqualified classOf symbol, which means calls to getLogger fail to compile if there either is no classOf in scope (e.g. -Yno-predef) or if it has been shadowed.

This can be fixed by using a fully qualified reference to classOf from _root_.scala.Predef.

sarahgerweck commented 4 years ago

I'll merge this in and cut you a new version.