Browse logs of messages that passed through flows.
Last updated 1 year ago
Was this helpful?
Set up a new instance with config parameters and set/get methods:
config
set
get
const insightsLogs = appmixer.ui.InsightsLogs(config) insightsLogs.set(key, value) insightsLogs.get(key)
config.el
...
Learn about widget config here.
widget
config.flowId
ID of a flow to filter the logs by.
Learn about widget instance here.
insightsLogs.state(name, value)
loader
Type: Boolean | Default: null
Boolean
null
Toggle a custom loading state.
error
Type: String | Default: null
String
Toggle a custom error message.
const insightsLogs = appmixer.ui.InsightsLogs({ el: '#insights-logs' }) insightsLogs.open()