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