Rename event-handlers to loggers, see #2979
* 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
This commit is contained in:
parent
c6f08fb935
commit
2476831705
37 changed files with 347 additions and 216 deletions
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* 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")
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue