You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This logger simply uses the Javascriptconsole object to log messages in JSON format. The JSON will be transformed to a string by simply runningJSON.stringify on it. If you log a text message the format will be:
{"@appId":"elbstack-logs-test","@version":"1.0.0","@level":"info","@timestamp":1490676496916,"text":"This is a sample text"}
If you log a JSON serializable object the format will be:
The logger simply accepts multiple arguments. All object type arguments will be merged straight away into the logged JSON from the right to the left. All arguments of other types will be merged to one string divided by spaces. That means that if you would do the following function call: