The DPDK Message Center provides a way to log messages in a centralized way.
This connector allows you to send messages from the backend to the Message Center.
Please note this module is disabled by default!
Below is the default application config for the message center module:
{
"message": {
"enabled": false,
"host": "log.dpdk.com",
"port": 12201,
"project_name": "",
"project_env": "local"
}
}
const bootstrap = new NextBootstrap(__dirname, process.cwd(), nextConfig);
// Arguments: message, severity, payload
bootstrap.message.send("Something went wrong", "error", {
"arg1": "test",
"arg2": "test"
});
Last modified | Monday, July 5, 2021, 7:00:09 AM UTC |
Last author | Glenn de Haan |
Commit ID | f4a8f09 |