| AttributesCreateLogLevels Method |
Configures
LogTIn, TOut, TMat(FlowTIn, TOut, TMat, String, FuncTOut, Object, ILoggingAdapter) stage log-levels to be used when logging.
Logging a certain operation can be completely disabled by using
Off
Passing in null as any of the arguments sets the level to its default value, which is:
[!:LogLevel.DebugLevel] for
onElement and
onFinish, and
[!:LogLevel.ErrorLevel] for
onError.
Namespace:
Akka.Streams
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Attributes CreateLogLevels(
LogLevel onElement = LogLevel.DebugLevel,
LogLevel onFinish = LogLevel.DebugLevel,
LogLevel onError = LogLevel.ErrorLevel
)
static member CreateLogLevels :
?onElement : LogLevel *
?onFinish : LogLevel *
?onError : LogLevel
(* Defaults:
let _onElement = defaultArg onElement LogLevel.DebugLevel
let _onFinish = defaultArg onFinish LogLevel.DebugLevel
let _onError = defaultArg onError LogLevel.ErrorLevel
*)
-> Attributes
Parameters
- onElement (Optional)
- Type: Akka.EventLogLevel
TBD - onFinish (Optional)
- Type: Akka.EventLogLevel
TBD - onError (Optional)
- Type: Akka.EventLogLevel
TBD
Return Value
Type:
AttributesTBD
See Also