afflux-logger
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package