diff --git a/akka-actor/src/main/scala/akka/event/Logging.scala b/akka-actor/src/main/scala/akka/event/Logging.scala index 9d1c928564d..2c073b548b2 100644 --- a/akka-actor/src/main/scala/akka/event/Logging.scala +++ b/akka-actor/src/main/scala/akka/event/Logging.scala @@ -200,7 +200,7 @@ trait LoggingBus extends ActorEventBus { * def name: String * } * - * implicit val myLogSourceType: LogSource[MyType] = new LogSource { + * implicit val myLogSourceType: LogSource[MyType] = new LogSource[MyType] { * def genString(a: MyType) = a.name * } * @@ -216,7 +216,7 @@ trait LoggingBus extends ActorEventBus { * def name: String * } * - * implicit val myLogSourceType: LogSource[MyType] = new LogSource { + * implicit val myLogSourceType: LogSource[MyType] = new LogSource[MyType] { * def genString(a: MyType) = a.name * def genString(a: MyType, s: ActorSystem) = a.name + "," + s * }