Log all incoming requests from Express
- Since
- 1.0.0
- Copyright
- MIT
- Source
Example
const {Runtime, Server} = require('@neobeach/core');
const requestLogger = require('@neobeach/middlewares-request-logger');
const server = new Server();
Runtime(() => {
server.loadMiddlewares([requestLogger()]);
server.run();
});