express-winston-log-util

0.1.1 • Public • Published

Express Winston Log Util

This is a simple utility for logging the output into an trace.log and error.log.

Simply import the library and call a logEvent method.

Install

npm install express-winston-log-util --save

Usage

let  logUtil  =  require('express-winston-log-util');

logUtil.logEvent("MyClass","MyMethod",JSONObject);
logUtil.logError("Error message goes here");

A trace.log file will be generated into the root directory of the project

Readme

Keywords

Package Sidebar

Install

npm i express-winston-log-util

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

1.89 kB

Total Files

4

Last publish

Collaborators

  • jairrillo