lectii pe .Net
Browse: Home / logger

logger

Use logger as node module

By tourniquet on October 12, 2014

Error: Most middleware (like logger) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.   Install express-logger as node module. After that: var logger = require(‘express-logger’); … app.use(logger({ path: ‘logfile.txt’ }));

Posted in Express JS, Node.js, npm | Tagged express, logger, modules | Leave a response

Categories

  • Algorithms
  • Assembler
  • Atmel AVR
  • Django Framework
  • Dreamstime
  • Express JS
  • Fotografie
  • Git
  • Hardware
  • HTML / CSS
  • iStock
  • JavaScript
  • jQuery
  • Limbajul C
  • Linux
  • Lori
  • Microstock
  • MongoDB
  • Node.js
  • Noutăţi
  • npm
  • Osclass
  • PHP
  • Programare
  • Python
  • ReactJS
  • Shutterstock
  • Statistici
  • Tips and Tricks
  • VueJS
  • Windows 10

Links

www.repl.it
www.regexone.com
www.jsonlint.com
www.jsoneditoronline.org
www.cdnjs.com

Copyright © 2018 lectii pe .Net.

Powered by WordPress and Hybrid.