* Rename config akka.event-handlers to akka.loggers * Rename config akka.event-handler-startup-timeout to akka.logger-startup-timeout * Rename JulEventHandler to JavaLogger * Rename Slf4jEventHandler to Slf4jLogger * Change all places in tests and docs * Deprecation, old still works, but with warnings * Migration guide * Test for the deprecated event-handler config
14 lines
No EOL
381 B
Scala
14 lines
No EOL
381 B
Scala
/**
|
|
* Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com>
|
|
*/
|
|
package akka.contrib.jul
|
|
|
|
import akka.event.Logging.Warning
|
|
|
|
@deprecated("use akka.contrib.jul.JavaLogger)", "2.2")
|
|
class JavaLoggingEventHandler extends JavaLogger {
|
|
|
|
self ! Warning(getClass.getName, getClass,
|
|
s"[${getClass.getName}] is depreceated, use [${classOf[JavaLogger].getName}] instead")
|
|
|
|
} |