| FlowOperationsLogTIn, TOut, TMat Method |
Logs elements flowing through the stream as well as completion and erroring.
By default element and completion signals are logged on debug level, and errors are logged on Error level.
This can be adjusted according to your needs by providing a custom
AttributesLogLevels attribute on the given Flow.
Emits when the mapping function returns an element
Backpressures when downstream backpressures
Completes when upstream completes
Cancels when downstream cancels
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Flow<TIn, TOut, TMat> Log<TIn, TOut, TMat>(
this Flow<TIn, TOut, TMat> flow,
string name,
Func<TOut, Object> extract = null,
ILoggingAdapter log = null
)
[<ExtensionAttribute>]
static member Log :
flow : Flow<'TIn, 'TOut, 'TMat> *
name : string *
?extract : Func<'TOut, Object> *
?log : ILoggingAdapter
(* Defaults:
let _extract = defaultArg extract null
let _log = defaultArg log null
*)
-> Flow<'TIn, 'TOut, 'TMat>
Parameters
- flow
- Type: Akka.Streams.DslFlowTIn, TOut, TMat
TBD - name
- Type: SystemString
TBD - extract (Optional)
- Type: SystemFuncTOut, Object
TBD - log (Optional)
- Type: Akka.EventILoggingAdapter
TBD
Type Parameters
- TIn
- TBD
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
FlowTIn,
TOut,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FlowTIn,
TOut,
TMat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also