mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-08-13 06:31:09 -04:00
WIP rename for merge
This commit is contained in:
parent
ff70324fb5
commit
27cd27c35f
3 changed files with 0 additions and 0 deletions
dev-server
|
@ -1,14 +0,0 @@
|
|||
var bunyan = require('bunyan');
|
||||
|
||||
module.exports = function () {
|
||||
var logger = bunyan.createLogger({
|
||||
name: 'www',
|
||||
serializers: {req: bunyan.stdSerializers.req}
|
||||
});
|
||||
|
||||
return function (req, res, next) {
|
||||
req.log = logger;
|
||||
req.log.info({req: req});
|
||||
next();
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue