Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13981404f3 | |||
| db951d1877 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pushrocks/smartlog",
|
||||
"version": "2.0.40",
|
||||
"version": "2.0.41",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pushrocks/smartlog",
|
||||
"version": "2.0.40",
|
||||
"version": "2.0.41",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/isounique": "^1.0.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartlog",
|
||||
"version": "2.0.40",
|
||||
"version": "2.0.41",
|
||||
"private": false,
|
||||
"description": "minimalistic distributed and extensible logging tool",
|
||||
"keywords": [
|
||||
|
||||
@@ -40,6 +40,9 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
|
||||
const write = process.stdout.write;
|
||||
process.stdout.write = (...args: any) => {
|
||||
const logString: string = args[0];
|
||||
if (!logString) {
|
||||
return;
|
||||
}
|
||||
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
||||
switch (true) {
|
||||
case logString.substr(0, 20).includes('Error:'):
|
||||
|
||||
Reference in New Issue
Block a user