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.
The macro implementation of
getLogger
uses an unqualifiedclassOf
symbol, which means calls togetLogger
fail to compile if there either is noclassOf
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
.