Custom Message in `Kino.Process.seq_trace`
mariari opened this issue · 2 comments
mariari commented
It would be nice to be able to supply a function to Kino.Process.seq_trace
, that can help augment the naming process.
For the code I work on, I see a lot of CAST: tuple
, making the use of the utility of seq_trace
limited.
This can be solved in a few ways:
- Letting users write custom pattern matches for the kinds of messages they experience (much like how label_from_message already matches certain patterns).
- Letting users supply their own custom
label_from_message
function to completely override the process.
I might try my hand at 1.
and contribute upstream if the idea works out.
josevalim commented
A custom label for messages function would be welcome indeed. Please do submit a PR :)