plugin - how to prevent json interpretation #509
Unanswered
mikeTWC1984
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This is resolved in Cronicle v2, which has a redesigned STDIO interface with Plugins. But for the current version, the engine looks for anything that is a valid JSON document on a single line (basically this regex: console.log( "LOG: " + JSON.stringify({foo: "bar"})) Or log your JSON with pretty-printing, so it spans multiple lines: console.log( JSON.stringify({foo: "bar"}, null, "\t") ) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you write custom plugin, and produce some json output job execution engine will interpret it and exclude from logging. What is the best to prevent that? In other words how to set up "Interpret JSON" check box on simple custom plugin.
For example for plugin like this:
Beta Was this translation helpful? Give feedback.
All reactions