hologger-streamer
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,9 +0,7 @@ | ||
var composeCode = require("./compose-code") | ||
, composeMessage = require("./compose-message") | ||
, sanitize = require("./sanitize") | ||
, siftRequest = require("./sift-request") | ||
, log = require("./log") | ||
; | ||
var sanitize = require("./sanitize"); | ||
var siftRequest = require("./sift-request"); | ||
/** | ||
@@ -28,4 +26,4 @@ * @description | ||
const CODE = composeCode(level, isil, ISBN); | ||
const MESSAGE = composeMessage(level, library, ISBN, INFO); | ||
const CODE = STREAMER._composeCode(level, isil, ISBN); | ||
const MESSAGE = STREAMER._composeMessage(level, library, ISBN, INFO); | ||
const SLUG = "[" + CODE + "] [" + MESSAGE + "]"; | ||
@@ -41,4 +39,4 @@ | ||
log(STREAMER["_"+level+"Drain"], INFO); | ||
STREAMER._log(STREAMER["_"+level+"Drain"], INFO); | ||
}; | ||
}; |
@@ -5,5 +5,6 @@ var handlerFactory = require("./handler-factory"); | ||
/** | ||
* `Streamer` constructor. | ||
* @api public | ||
* @description | ||
* {Streamer} constructor. | ||
* | ||
* @api public | ||
*/ | ||
@@ -33,2 +34,3 @@ function Streamer(){ | ||
/** | ||
* @api public | ||
* @description | ||
@@ -43,2 +45,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -53,2 +56,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -63,2 +67,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -73,2 +78,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -83,2 +89,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -93,2 +100,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -103,2 +111,3 @@ * | ||
/** | ||
* @api public | ||
* @description | ||
@@ -112,3 +121,33 @@ * | ||
/** | ||
* @api private | ||
* @description | ||
* | ||
*/ | ||
Streamer.prototype._composeCode = require("./compose-code"); | ||
/** | ||
* @api private | ||
* @description | ||
* | ||
*/ | ||
Streamer.prototype._composeMessage = require("./compose-message"); | ||
/** | ||
* @api private | ||
* @description | ||
* | ||
*/ | ||
Streamer.prototype._log = require("./log"); | ||
////// MODULE EXPORTS | ||
module.exports = Streamer; |
{ | ||
"name": "hologger-streamer", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Base Class implementing Streamer API for Hologger", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13601
300
0