Socket
Socket
Sign inDemoInstall

@knotel/meteor-logger

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @knotel/meteor-logger

Override console.log with time stamps


Version published
Maintainers
2
Created

Readme

Source

meteor-logger

Prepends console functions with timestamp. Works for Meteor.

Install
npm install @knotel/meteor-logger
Init the logger
import MeteorLogger from '@knotel/meteor-logger';
MeteorLogger.init()

Example:

import MeteorLogger from '@knotel/meteor-logger';
MeteorLogger.init(options)
console.log('Hello World')
// APP LOG[1509812506800]: Hello World
Reset the logger
MeteorLogger.reset()

Keywords

FAQs

Last updated on 04 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc