New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jtlogger

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jtlogger

node logger

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

JTLogger

基于winston,重新封装了console的info、error和warn方法

const logger = require('jtlogger');
logger.init([{
  timestamp: true
}, {
  type: 'file',
  filename: path.join(__dirname, 'test.log')
}, {
  type: 'udp',
  timestamp: true
}]);
console.info('输出测试log');

Build Status

Keywords

log logger

FAQs

Package last updated on 22 Sep 2015

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