On Thu, Jan 28, 2010 at 1:11 PM, Jeppe Nejsum Madsen <[email protected]>wrote:

> Hi,
>
> Looking at the loggers, I see
>
> var loggerByClass: Class[AnyRef] => LiftLogger
>
> How can you get a Class[AnyRef]?
>
> Using loggerByClass(classOf[C]) yields:
>
> <console>:7: error: type mismatch;
>  found   : java.lang.Class[C]
>  required: Class[AnyRef]
>
> Should this signature be Class[_] => LiftLogger instead?
>

yes


>
> /Jeppe
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to