lib/logger.js
/**
     * @brief Middleware function to log each incoming request.
     *
     * @param req express http request object
     * @param ignore
     * @param next express next function
     *
     * @return none
     */
@brief Middleware function to log each incoming request.
@param req express http request object
@param ignore
@param next express next function

@return none
@brief Middleware function to log each incoming request . @param req express http request object @param ignore @param next express next function @return none
function logRequest(req, ignore, next) {
        logger.info({requestBody: req.body}, "Incoming request.");
        next();
    }
function logRequest ( req , ignore , next ) { logger . info ( { requestBody : req . body } , "Incoming request." ) ; next ( ) ; }
@brief Middleware function to log each incoming request.
@brief Middleware function to log each incoming request .
// Runs the next middleware function.