DPDK Architecture  ->  Bootstrap (v3.0.5)

Message Center
< v2.9.2

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!

Config
< v2.9.2

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"
  }
}

Usage
< v2.9.2

const bootstrap = new NextBootstrap(__dirname, process.cwd(), nextConfig);

// Arguments: message, severity, payload
bootstrap.message.send("Something went wrong", "error", {
    "arg1": "test",
    "arg2": "test"
});
Last modifiedMonday, July 5, 2021, 7:00:09 AM UTC
Last authorGlenn de Haan
Commit IDf4a8f09