You can see logging messages in Chrome Developer Tools
in the app.
You can open Chrome Developer Tools
by pressing F12 in the app.
and you can also see these logging messages in console (standard output) too.
Example
'use strict';
module.exports = (pluginContext) => {
const logger = pluginContext.logger;
function startup() {
logger.log('startup');
}
function search(query, res) { ... }
function execute(id, payload) {
if (...) {
logger.log('something is being executed');
}
}
return { startup, search, execute };
};