-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to overload console? #11
Comments
In Linux/Raspbian, you can pipe the output of your program to a simple
(using var split = require('split');
var mainStory = require('storyboard').mainStory;
process.stdin.pipe(split())
.on('data', function(line) { mainStory.info(line); })
.on('end', function() { process.exit(0); }); I'm using here the split package to read Example output:
Please tell me if it works for you! |
Closing this now. Please reopen if the solution is not sufficient |
Included the logger tool in the library, under |
Thanks. |
Just FYI, Storyboard version 2.0 includes a revamped CLI tool that handles not only |
Thanks Guillermo, I'll check it out. |
I have a complex application (Node-Red) that logs to stdout using console and I would love to be able to redirect that output to storyboard since it runs on a raspberry pi that is tucked away somewhere remote. It would be much easier to debug things and monitor log output if I could use storyboard to do it. But, I obviously cannot dig into the Node-Red code and change all of the console outputs.
The text was updated successfully, but these errors were encountered: