Goal: Create a log action that will add a message to the apps log.
message, and logLevel keys have to be assigned within the params object of the action.
{
"type": "log",
"params": {
"message": "The message to log",
"prefix": "ThePrefix",
"logLevel": "warning"
}
}
A logged message in a form like "W: ThePrefix: The message to log"