Moderator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300) 6 years, 7 months ago
#16488
::
Please do not use the Logging Connector (it is old) but a Server Side Business Object, which offers you a Log Interface with the Simplifier Object.
e.g.
- Simplifier.Log.error(“I have an error”)
- Simplifier.Log.error(“I have an error”, {“detailA”: “It should fail here”, “detailB”: “The passed value was wrong”})
You can pass a JSON as details optionally as well.
You have the following Log-Levels
- DEBUG
- INFO
- WARNING (access this by .warn
- ERROR
- CRITICAL
Please see the documentation for more information.
Hope this helps.
Best Regards
Kamil