Compare commits

..

2 Commits

Author SHA1 Message Date
4062157544 2.0.43 2021-07-21 01:48:20 +02:00
a673844fb3 fix(core): update 2021-07-21 01:48:20 +02:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartlog",
"version": "2.0.42",
"version": "2.0.43",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartlog",
"version": "2.0.42",
"version": "2.0.43",
"license": "MIT",
"dependencies": {
"@pushrocks/isounique": "^1.0.4",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartlog",
"version": "2.0.42",
"version": "2.0.43",
"private": false,
"description": "minimalistic distributed and extensible logging tool",
"keywords": [

View File

@ -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') {