You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

log-http-pretty

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-http-pretty

This is a pretty log for services

1.0.1
latest
Source
npm
Version published
Weekly downloads
26
62.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 20 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts