Replies: 1 comment
-
@youngledo, do you want a custom If so, you can achieve this by combining JSON Template Layout (JTL) with following logging schemes:
If you wrap your If none of the above work for you, please provide an example of your use case with code that we can reproduce the issue on our side. |
Beta Was this translation helpful? Give feedback.
-
For example, this method supports messages passed in to an "Object" object, but the actual output is just a simple string.

Therefore, to achieve this, I need to convert to a "JSON" string in advance before I can output the JSON structure I want.

And there are also warning prompts.
This is the output result:

Note that "JsonTemplateLayout" is not what I want, because it requires the JSON template to be defined in advance.
Beta Was this translation helpful? Give feedback.
All reactions