* +str #18793 StageLogging that allows logger access in stages Also, non ActorMaterializers can opt-into providing a logger here. * +str #18794 add javadsl for StageLogging * fix missing test method on compile only class
This commit is contained in:
parent
b775db0be3
commit
0127d4f424
15 changed files with 238 additions and 58 deletions
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (C) 2016 Lightbend Inc. <http://www.lightbend.com>
|
||||
*/
|
||||
|
||||
package akka.stream
|
||||
|
||||
import akka.event.LoggingAdapter
|
||||
|
||||
/**
|
||||
* SPI intended only to be extended by custom [[Materializer]] implementations,
|
||||
* that also want to provide stages they materialize with specialized [[akka.event.LoggingAdapter]] instances.
|
||||
*/
|
||||
trait MaterializerLoggingProvider { this: Materializer ⇒
|
||||
|
||||
def makeLogger(logSource: Class[_]): LoggingAdapter
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue