Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4062157544 | |||
| a673844fb3 | |||
| 53248a3a3d | |||
| 0043a553a7 |
9375
package-lock.json
generated
9375
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartlog",
|
||||
"version": "2.0.41",
|
||||
"version": "2.0.43",
|
||||
"private": false,
|
||||
"description": "minimalistic distributed and extensible logging tool",
|
||||
"keywords": [
|
||||
|
||||
@@ -40,7 +40,7 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
|
||||
const write = process.stdout.write;
|
||||
process.stdout.write = (...args: any) => {
|
||||
const logString: string = args[0];
|
||||
if (!logString) {
|
||||
if (!logString || typeof logString.startsWith !== 'function') {
|
||||
return;
|
||||
}
|
||||
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user