trait StageLogging extends AnyRef
Simple way to obtain a LoggingAdapter when used together with an ActorMaterializer. If used with a different materializer NoLogging will be returned.
Make sure to only access log
from GraphStage callbacks (such as pull
, push
or the async-callback).
Note, abiding to akka.stream.ActorAttributes.logLevels has to be done manually,
the logger itself is configured based on the logSource provided to it. Also, the log
itself would not know if you're calling it from a "on element" context or not, which is why
these decisions have to be handled by the operator itself.
- Self Type
- StageLogging with GraphStageLogic
- Source
- StageLogging.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- StageLogging
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def log: LoggingAdapter