Comparing version 2.1.0 to 3.0.0
11
app.js
@@ -75,2 +75,13 @@ /* @author Jim Manton: jrman@risebroadband.net | ||
} | ||
server(props = {}) { | ||
let t = this, fname = "LogQueue.server" | ||
try { | ||
t.logObj.server(props) | ||
} catch (e) { | ||
e.message = `${fname} error: ${e.message}` | ||
console.log(e.message) | ||
throw e | ||
} | ||
} | ||
} |
@@ -5,3 +5,3 @@ { | ||
}, | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"bundleDependencies": [], | ||
@@ -21,3 +21,4 @@ "dependencies": { | ||
"ditched": "ditched -a", | ||
"test_logs": "node ./tests/logs" | ||
"test_logs": "node ./tests/logs", | ||
"test_http": "node ./tests/http" | ||
}, | ||
@@ -24,0 +25,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ | ||
Logging mainly to console and log4js-tagline, but can certainly be used for generic logging. | ||
Logging to console, log4js-tagline and http. | ||
@@ -22,3 +22,4 @@ Mocha Test | ||
npm run test_logs | ||
npm run test_http | ||
``` |
@@ -9,3 +9,3 @@ const assert = require('assert'), | ||
}, | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"bundleDependencies": [], | ||
@@ -25,3 +25,4 @@ "dependencies": { | ||
"ditched": "ditched -a", | ||
"test_logs": "node ./tests/logs" | ||
"test_logs": "node ./tests/logs", | ||
"test_http": "node ./tests/http" | ||
}, | ||
@@ -51,2 +52,3 @@ "keywords": [ | ||
describe('package.json', function () { | ||
@@ -53,0 +55,0 @@ it('should pass', function () { |
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
Network access
Supply chain riskThis module accesses the network.
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
18348
13
351
23
1