log-http-pretty

1.0.1 • Public • Published

Log-Http

This is a powerful logger for services.

Installation

Dillinger requires Node.js v4+ to run.

Install and start the server.

$ node install log-http
$ node 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

Readme

Keywords

none

Package Sidebar

Install

npm i log-http-pretty

Weekly Downloads

15

Version

1.0.1

License

MIT

Unpacked Size

5.37 kB

Total Files

4

Last publish

Collaborators

  • gerardocd