Set server framework

By default the library will be configured to run with express. If you are going to use another server framework, you have to change the configuration accordingly. There are 2 ways to do this:

  1. Set the key-value pair "framework": "$frameworkName" in a configuration file:

    {
        "framework": "restify"
    }
    
  2. Set the server framework from a logger instance by calling:

log.forceLogger("connect") 

Our supported server frameworks are: