Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ft-next-logger

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ft-next-logger

Logging utility

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

Next Logger Build Status

Logging utility

Usage

var loggerInit = require('ft-next-logger').init;
# init first, setting the app's name
loggerInit({ appName: 'ft-next-front-page' });
var logger = require('ft-next-logger').logger;

logger.info('Saying hello');
logger.warn('Everything’s mostly cool');
logger.error('Uh-oh', { field: 'some value' });

of if you're living in the wonderfule world of JavaScript modules,

import {init as loggerInit, logger} from 'ft-next-logger';
# init first, setting the app's name
loggerInit({ appName: 'ft-next-front-page' });

logger.info('Saying hello');
...

(Uses Winston, so see here for full api)

FAQs

Package last updated on 24 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc