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

afflux-logger

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

afflux-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "afflux-logger",
"version": "0.0.1",
"version": "0.0.2",
"description" : "Logger client for afflux",

@@ -5,0 +5,0 @@ "author" : {

@@ -10,3 +10,3 @@ # Logger client for afflux-server.js

```javascript
var Logger = require('afflux-client');
var Logger = require('afflux-logger');

@@ -28,3 +28,3 @@ Logger.init({

```javascript
var log = require('afflux-client').getCustomLogger();
var log = require('afflux-logger').getCustomLogger();

@@ -40,3 +40,3 @@ // Will send { event : 'user:signup', msg : { dt : 'User alex registered' } }

```javascript
var log = require('afflux-client').getLogger('user:registration');
var log = require('afflux-logger').getLogger('user:registration');

@@ -57,3 +57,3 @@ // Will send { event : 'user:registration', msg : 'User registered'}

// In main file init the logger
var Logger = require('afflux-client');
var Logger = require('afflux-logger');

@@ -72,3 +72,3 @@ Logger.init({

// like you do with debug module
var log = require('afflux-client').getLogger('MAIN');
var log = require('afflux-logger').getLogger('MAIN');

@@ -75,0 +75,0 @@ // Example

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