Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log-Http

This is a powerful logger for services.

Installation

Dillinger requires Node.js v4+ to run.

Install and start the server.

$ npm install log-http-pretty
$ npm run start

Features!

  • Logger success
  • Logger warning
  • Mark init service
  • Mark end service
  • Reponse Services
  • Reponde middleware service

Examples!

var jsonTest= {
    "Example" : "Hello"

}
LogHttp.beggin();
LogHttp.end();
LogHttp.success(`Ok`);
LogHttp.fail('Wrong');
LogHttp.request(jsonTest);
LogHttp.reponseService(200,'localhost:8080/getCar',jsonTest,jsonTest,'Prueba de Titulo');
LogHttp.reponseSuccess(200,jsonTest);
  

image

About

LogHttp

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages