When Plugin needs to show a message to a user you can call one of these functions:
{
"notifications": {
"info": message => console.log(message),
"error": message => console.error(message),
"success": message => console.log(message),
"warn": message => console.log(message),
"loader": message => console.log(message),
"hide": message => console.log(message)
}
}
You have to override these functions to show these messages in the right place and in the right style.