fix(core): update
This commit is contained in:
parent
26c84b3a04
commit
db951d1877
@ -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:'):
|
||||
|
Loading…
Reference in New Issue
Block a user