pjfanning commented on issue #1538:
URL: https://github.com/apache/pekko/issues/1538#issuecomment-2426378906

   Scala 3 is the issue here. It doesn't accept 100% of Scala 2 code.
   
   I usually just change `getClass` to `classOf[MyClass]` where MyClass is the 
name of the class.
   
   I think you can get `Logging(actorSystem, getClass)` to work by providing 
the implicit converter explicity. I haven't tried the exact solution but it is 
something like.
   
   `Logging(actorSystem, 
getClass)(org.apache.pekko.event.LogSource.fromAnyClass)`
   
   That `Logging` constructor takes a 2nd param list where the params are 
implicits but somehow Scala 3 doesn't find the implied value.
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to