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
So we could make it an abstract type all user sinks inherit from.
An alternative is we could make a generic sink that takes a function as it's argument, and then calls that function for handle_message, but that is uglier if they need to keep state, and disallows overriding catch_exceptions
The text was updated successfully, but these errors were encountered:
Logging Sinks should always have:
(for the last see #38)
With a user defined:
That is what makes them Sinks
So we could make it an abstract type all user sinks inherit from.
An alternative is we could make a generic sink that takes a function as it's argument, and then calls that function for
handle_message
, but that is uglier if they need to keep state, and disallows overridingcatch_exceptions
The text was updated successfully, but these errors were encountered: