converted trace to use type class and added akka logger support