You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The .Log method in Akka.Streams doesn't currently support a LogLevel and isn't really friendly for users to actually use.
vartask= source.DivertTo(evenSink,i =>i%2==0).Log("foo",i =>$"log me {i}").DivertTo(threeSink,i =>i%3==0).DivertTo(fiveSink,i =>i%5==0).RunWith(Sink.ForEach<int>(i => Console.WriteLine($"{i} is unhandled")), actorSystem);
Describe the solution you'd like
I think it'd be better if:
We allowed users to just pass in a LogLevel on the given call;
Alternatively, if we exposed the ILoggingAdapter directly as a method and just let the user call it normally, rather than doing this cute Func<T, object> junk.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The
.Log
method in Akka.Streams doesn't currently support aLogLevel
and isn't really friendly for users to actually use.Describe the solution you'd like
I think it'd be better if:
LogLevel
on the given call;ILoggingAdapter
directly as a method and just let the user call it normally, rather than doing this cuteFunc<T, object>
junk.The text was updated successfully, but these errors were encountered: