@smilo7 there were a few things needed that I added
The worker console was not taken over and the logs in the worker scope were not directed to the logger. To achieve that we need to overwrite self.console.
We still want to get all logs in the console, so we also want to keep the default functionality.
This way the logging mechanism serves both the user layer, by preventing them from having to open the devtools console and having a filtered logs, and us as developers to get all the original console logs.
all changed the payload of the logs from text to array
check the latest commit 20a26ea3628ac180b46e1b1bbbd1956a0fce74be
@smilo7 there were a few things needed that I added
The worker console was not taken over and the logs in the worker scope were not directed to the logger. To achieve that we need to overwrite
self.console
.We still want to get all logs in the console, so we also want to keep the default functionality.
This way the logging mechanism serves both the user layer, by preventing them from having to open the devtools console and having a filtered logs, and us as developers to get all the original console logs.
all changed the payload of the logs from text to array
check the latest commit 20a26ea3628ac180b46e1b1bbbd1956a0fce74be