Interface IStageLogging
Simple way to obtain a ILoggingAdapter when used together with an ActorMaterializer. If used with a different materializer NoLogger will be returned.
Make sure to only access Log
from GraphStage callbacks (such as Pull
, Push
or the async-callback).
Note, abiding to Attributes.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 stage itself.
Namespace: Akka.Streams.Stage
Assembly: Akka.Streams.dll
Syntax
public interface IStageLogging
Properties
| Improve this Doc View SourceLog
Declaration
ILoggingAdapter Log { get; }
Property Value
Type | Description |
---|---|
ILoggingAdapter |