honcho
honcho copied to clipboard
Multiple Printers to Honcho Manager?
Was wondering if there is a way to add multiple Printer
objects (for instance, std.out
and file
) to a Manager
object?
Using the Honcho API, not the command-line interface.
From a glance at the code that's not currently possible, but I suspect it wouldn't be too tricky to make the necessary changes. Feel free to have a go at it if you'd like. As long as the code remains tested and the default behaviour (i.e. one printer to STDOUT) remains the same I'd happily merge the changes.
I guess the Manager
requires a collection of printers to write to. I'll send in a PR soon for this!
I'm currently using honcho as my development runner (using the Python API and not a Procfile). I was keen to have the logs on screen and on a buffer. Somewhat like how winston does it.