Comparing version 4.1.0 to 4.2.0
@@ -0,2 +1,4 @@ | ||
const META = Symbol('proc-log.meta') | ||
module.exports = { | ||
META: META, | ||
output: { | ||
@@ -7,2 +9,3 @@ LEVELS: [ | ||
'buffer', | ||
'flush', | ||
], | ||
@@ -13,2 +16,3 @@ KEYS: { | ||
buffer: 'buffer', | ||
flush: 'flush', | ||
}, | ||
@@ -24,2 +28,5 @@ standard: function (...args) { | ||
}, | ||
flush: function (...args) { | ||
return process.emit('output', 'flush', ...args) | ||
}, | ||
}, | ||
@@ -26,0 +33,0 @@ log: { |
{ | ||
"name": "proc-log", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "bin/", |
@@ -28,2 +28,6 @@ # proc-log | ||
* `output.flush(...args)` calls `process.emit('output', 'flush', ...args)` | ||
This is to indicate that the output buffer should be flushed. | ||
* `output.LEVELS` an array of strings of all output method names | ||
@@ -30,0 +34,0 @@ |
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
12261
153
226